C# Class SkinnedModel.Transform

Show file Open project: zfedoran/bubblebound Class Usage Examples

Public Properties

Property Type Description
rotation Microsoft.Xna.Framework.Quaternion
scale Vector3
translation Vector3

Public Methods

Method Description
GetMatrix ( Matrix &mat ) : void
Lerp ( Transform &to, float amount ) : Transform
Lerp ( Transform &from, Transform &to, float amount, Transform &result ) : void
LerpToIdentity ( float weighting ) : void
Multiply ( Transform &transform1, Transform &transform2, Transform &result ) : void
Transform ( Matrix &matrix ) : System
Validate ( ) : void
operator ( ) : Transform

Method Details

GetMatrix() public method

public GetMatrix ( Matrix &mat ) : void
mat Matrix
return void

Lerp() public method

public Lerp ( Transform &to, float amount ) : Transform
to Transform
amount float
return Transform

Lerp() public static method

public static Lerp ( Transform &from, Transform &to, float amount, Transform &result ) : void
from Transform
to Transform
amount float
result Transform
return void

LerpToIdentity() public method

public LerpToIdentity ( float weighting ) : void
weighting float
return void

Multiply() public static method

public static Multiply ( Transform &transform1, Transform &transform2, Transform &result ) : void
transform1 Transform
transform2 Transform
result Transform
return void

Transform() public method

public Transform ( Matrix &matrix ) : System
matrix Matrix
return System

Validate() public method

public Validate ( ) : void
return void

operator() public static method

public static operator ( ) : Transform
return Transform

Property Details

rotation public property

public Quaternion,Microsoft.Xna.Framework rotation
return Microsoft.Xna.Framework.Quaternion

scale public property

public Vector3 scale
return Vector3

translation public property

public Vector3 translation
return Vector3