Метод | Описание | |
---|---|---|
Animation ( |
||
GetAnimationMatrices ( float time, Skeleton skeleton ) : Matrix4[] | ||
GetAnimationMatricesAsArray ( float time, Skeleton skeleton ) : float[] | ||
ToString ( ) : string |
Метод | Описание | |
---|---|---|
ConstructFromDesc ( NTROStruct animDesc, NTROStruct decodeKey, AnimDecoderType decoderArray, NTROArray segmentArray ) : void | ||
Flatten ( Matrix4 matrices ) : float[] | ||
GetAnimationMatrixRecursive ( Bone bone, Matrix4 parentBindPose, Matrix4 parentInvBindPose, Frame transforms, Matrix4 &matrices ) : void | ||
GetTransformsAtTime ( float time ) : Frame | ||
MakeDecoderArray ( NTROArray decoderArray ) : AnimDecoderType[] | ||
ReadHalfFloat ( BinaryReader reader ) : float | ||
ReadQuaternion ( BinaryReader reader ) : Quaternion | ||
ReadSegment ( int frame, NTROStruct segment, NTROStruct decodeKey, AnimDecoderType decoderArray, Frame &outFrame ) : void |
public Animation ( |
||
resource | ||
decodeKey | ValveResourceFormat.ResourceTypes.NTROSerialization.NTROStruct | |
skeleton | ||
Результат | System |
public GetAnimationMatrices ( float time, Skeleton skeleton ) : Matrix4[] | ||
time | float | |
skeleton | Skeleton | |
Результат | Matrix4[] |
public GetAnimationMatricesAsArray ( float time, Skeleton skeleton ) : float[] | ||
time | float | |
skeleton | Skeleton | |
Результат | float[] |