[This is preliminary documentation and is subject to change.]
The AnimationTask type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AnimationDictionary | ||
| AnimationName | ||
| CurrentTime |
Gets or sets the current time of the animation being played by this task, in seconds.
| |
| CurrentTimeRatio |
Gets or sets the current time ratio of the animation being played by this task.
| |
| IsActive | Gets a value indicating whether this task is active. A task is considered active if its status is not None. | |
| IsPlaying | Gets a value indicating whether the animation represented by this task is currently playing. | |
| Length |
Gets the length of the animation represented by this task, in seconds.
| |
| Name |
Gets the name of the method that was used to invoke this task. Eg. "RappelFromHelicopter".
(Inherited from Task.) | |
| Ped |
Gets the Ped this task is assigned to.
(Inherited from Task.) | |
| PlayRate |
Sets the speed multiplier of the animation being played by this task.
| |
| RemainingTimeRatio |
Gets or sets the remaining time ratio of the animation being played by this task.
| |
| Status |
Gets the current status of this task.
(Inherited from Task.) |
See Also