C# Class CryEngine.QuatT

Quaternion with a translation vector
Datei anzeigen Open project: PoppermostProductions/CryMono Class Usage Examples

Public Properties

Property Type Description
Identity QuatT
Q Quat
T Vec3

Public Methods

Method Description
ClampLengthAngle ( float maxLength, float maxAngle ) : void
GetHashCode ( ) : int
GetScaled ( float scale ) : QuatT
Invert ( ) : void
IsEquivalent ( QuatT p, float epsilon = 0.05f ) : bool
Nlerp ( QuatT start, QuatT end, float amount ) : void
QuatT ( Matrix34 m ) : System
QuatT ( Vec3 t, Quat q ) : System
SetFromVectors ( Vec3 vx, Vec3 vy, Vec3 vz, Vec3 pos ) : void
SetIdentity ( ) : void
SetRotationAA ( float cosha, float sinha, Vec3 axis, Vec3 trans = null ) : void
SetRotationXYZ ( Vec3 rad, Vec3 trans = null ) : void
SetTranslation ( Vec3 trans ) : void

Method Details

ClampLengthAngle() public method

public ClampLengthAngle ( float maxLength, float maxAngle ) : void
maxLength float
maxAngle float
return void

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetScaled() public method

public GetScaled ( float scale ) : QuatT
scale float
return QuatT

Invert() public method

public Invert ( ) : void
return void

IsEquivalent() public method

public IsEquivalent ( QuatT p, float epsilon = 0.05f ) : bool
p QuatT
epsilon float
return bool

Nlerp() public method

public Nlerp ( QuatT start, QuatT end, float amount ) : void
start QuatT
end QuatT
amount float
return void

QuatT() public method

public QuatT ( Matrix34 m ) : System
m Matrix34
return System

QuatT() public method

public QuatT ( Vec3 t, Quat q ) : System
t Vec3
q Quat
return System

SetFromVectors() public method

public SetFromVectors ( Vec3 vx, Vec3 vy, Vec3 vz, Vec3 pos ) : void
vx Vec3
vy Vec3
vz Vec3
pos Vec3
return void

SetIdentity() public method

public SetIdentity ( ) : void
return void

SetRotationAA() public method

public SetRotationAA ( float cosha, float sinha, Vec3 axis, Vec3 trans = null ) : void
cosha float
sinha float
axis Vec3
trans Vec3
return void

SetRotationXYZ() public method

public SetRotationXYZ ( Vec3 rad, Vec3 trans = null ) : void
rad Vec3
trans Vec3
return void

SetTranslation() public method

public SetTranslation ( Vec3 trans ) : void
trans Vec3
return void

Property Details

Identity public_oe static_oe property

public static QuatT,CryEngine Identity
return QuatT

Q public_oe property

The quaternion
public Quat,CryEngine Q
return Quat

T public_oe property

The translation vector and a scalar (for uniform scaling?)
public Vec3,CryEngine T
return Vec3