C# Class Protogame.DefaultTransform

The default implementation of ITransform.
Inheritance: ITransform
ファイルを表示 Open project: RedpointGames/Protogame Class Usage Examples

Public Methods

Method Description
Assign ( ITransform from ) : void
DefaultTransform ( ) : System
ResetAsCustomMatrix ( ) : void
ResetAsSRTMatrix ( ) : void
SerializeToNetwork ( ) : NetworkTransform
SetFromCustomMatrix ( Matrix localMatrix ) : void
SetFromSRTMatrix ( Vector3 localPosition, Microsoft.Xna.Framework.Quaternion localRotation, Vector3 localScale ) : void
ToString ( ) : string

Private Methods

Method Description
RecalculateRTMatrixCache ( ) : void
RecalculateSRTMatrixCache ( ) : void

Method Details

Assign() public method

public Assign ( ITransform from ) : void
from ITransform
return void

DefaultTransform() public method

public DefaultTransform ( ) : System
return System

ResetAsCustomMatrix() public method

public ResetAsCustomMatrix ( ) : void
return void

ResetAsSRTMatrix() public method

public ResetAsSRTMatrix ( ) : void
return void

SerializeToNetwork() public method

public SerializeToNetwork ( ) : NetworkTransform
return NetworkTransform

SetFromCustomMatrix() public method

public SetFromCustomMatrix ( Matrix localMatrix ) : void
localMatrix Matrix
return void

SetFromSRTMatrix() public method

public SetFromSRTMatrix ( Vector3 localPosition, Microsoft.Xna.Framework.Quaternion localRotation, Vector3 localScale ) : void
localPosition Vector3
localRotation Microsoft.Xna.Framework.Quaternion
localScale Vector3
return void

ToString() public method

public ToString ( ) : string
return string