Class AnimVec2
Parent class: AnimChannel
Version added:
before 9.5
The AnimVec2 class represents an animated sequence of 2D vector values.
Methods of AnimVec2:
Name | Returns | Description | Ver |
AreDimensionsSplit | bool | Added in version 12 | 12 |
DimensionChannel | AnimVal | Added in version 12 | 12 |
GetValue | Vector2 | Return the value of this channel at a given frame | < 9.5 |
GetValueByID | Vector2 | < 9.5 | |
SetValue | void | Set the value at a given frame | < 9.5 |
SetValueByID | void | < 9.5 | |
SplitDimensions | void | Added in version 12 | 12 |
SyncSplitDimensionsBack | void | Added in version 12 | 12 |
Methods inherited from AnimChannel:
Name | Returns | Description | Ver |
Action | AnimChannel | Returns action channel by index | 12 |
ActionByName | AnimChannel | Returns the action channel. | 12 |
ActionName | char | Added in version 12 | 12 |
ActivateAction | void | Added in version 12 | 12 |
AddKey | void | Adds a new keyframe at the given frame | < 9.5 |
ChannelType | int32 | Returns the type of animation channel you're working with | < 9.5 |
Clear | void | Clears a channel, removing all keyframes | < 9.5 |
ClearAfter | void | < 9.5 | |
ClearBefore | void | < 9.5 | |
CountActions | int32 | Added in version 12 | 12 |
CountKeys | int32 | Returns the number of keyframes in the channel | < 9.5 |
CurrentAction | char | Added in version 12 | 12 |
DeleteKey | void | Deletes a keyframe at the specified frame | < 9.5 |
DeleteKeyByID | void | < 9.5 | |
Duration | int32 | Returns the duration of the animation channel (basically, the time of the last keyframe) | < 9.5 |
GetClosestKeyID | int32 | Returns the closest keyframe to the left from the given frame | < 9.5 |
GetKeyInterp | void | < 9.5 | |
GetKeyInterp | void | < 9.5 | |
GetKeyInterpByID | void | < 9.5 | |
GetKeyInterpByID | void | < 9.5 | |
GetKeyInterpMode | int32 | < 9.5 | |
GetKeyInterpModeByID | int32 | < 9.5 | |
GetKeyWhen | int32 | < 9.5 | |
HasKey | bool | Tests whether the channel has a keyframe at a given frame | < 9.5 |
InsertAction | void | Added in version 12 | 12 |
InsertActionByReference | void | Added in version 12 | 12 |
IsKeySelected | bool | < 9.5 | |
IsKeySelectedByID | bool | < 9.5 | |
IsMuted | bool | Added in version 12 | 12 |
MakeKeyframesConsistent | void | make sure the keyframes are all in order according to time, and remove any that overlap | < 9.5 |
Mute | void | Added in version 12 | 12 |
Reset | void | Sets the value at a given frame to be the same as the value at frame 0 | < 9.5 |
SetKeyInterp | void | Sets the interpolation mode at a specified frame | < 9.5 |
SetKeyInterp | void | Sets the interpolation mode at a specified frame | < 9.5 |
SetKeyInterpByID | void | Sets the interpolation mode for a specified keyframe | < 9.5 |
SetKeyInterpByID | void | Sets the interpolation mode for a specified keyframe | < 9.5 |
SetKeySelected | void | < 9.5 | |
SetKeySelectedByID | void | < 9.5 | |
SetKeyWhen | void | < 9.5 | |
SetKeyWhenNoRestriction | void | allow keyframes to be set before/after each other, or even on top of each other | < 9.5 |
StoreValue | void | Stores the current value as a keyframe | < 9.5 |
SwapKeys | void | < 9.5 |
Properties of AnimVec2:
Name | Type | Description | Ver |
value | Vector2 | The current value of the channel. | < 9.5 |