CAST II Game Engine |
||||||||
![]() |
MAIN | FEATURES | SCREENSHOTS | FORUMS | MANUAL | DOWNLOADS | CONTACTS | |
type TAnimationResource = class(TArrayResource)
TArrayResource > TResource > TItem > TBaseItem| Name | Description | |
|---|---|---|
![]() | AnimTransform | Current transform for each bone |
![]() | TimeStampsMs | Animation frame time stamps in milliseconds |
![]() | TotalMs | Total animation time in milliseconds |
![]() | Transforms | Frame transforms for each bone and each timestamp |
![]() | procedure AddBoneAnim(ABoneIndex: Integer; ATimeStampsMs: array of Cardinal; AAnims: array of TAnimTransform); |
![]() | procedure AddProperties(const Result: Props.TProperties); override; |
![]() | procedure DoRotate(Amount: TVector3s); |
![]() | procedure DoScale(Amount: TVector3s); |
![]() | function GetElementSize: Integer; override; |
![]() | procedure SetProperties(Properties: Props.TProperties); override; |
![]() | procedure SetTime(TimeStamp: TTimeUnit); |
![]() | procedure SetTotalBones(ATotalBones: Integer); |
![]() | procedure AddBoneAnim(ABoneIndex: Integer; ATimeStampsMs: array of Cardinal; AAnims: array of TAnimTransform); |
Adds to a bone with the given index an animation described by array of time stamps and corresponding bone transformations
![]() | procedure AddProperties(const Result: Props.TProperties); override; |
![]() | procedure DoRotate(Amount: TVector3s); |
Rotates the animation by the given amount
![]() | procedure DoScale(Amount: TVector3s); |
Scales the animation by the given amount
![]() | function GetElementSize: Integer; override; |
![]() | procedure SetProperties(Properties: Props.TProperties); override; |
![]() | procedure SetTime(TimeStamp: TTimeUnit); |
Sets animation time and recalculates current transforms
![]() | procedure SetTotalBones(ATotalBones: Integer); |
Sets total bones
|
Last modified: Jan 6, 2010 |