Used to move and animate the position of creative_prop objects.
- See
creative_prop.GetAnimationControllerfor information on acquiring an instance of ananimation_controllerfor a givencreative_prop. - See
SetAnimationfor details on authoring movement and animations.
Verse using statement |
using { /Fortnite.com/Devices/CreativeAnimation } |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
KeyframeReachedEvent |
listenable(payload) |
Signaled each time a keyframe is reached. Callback(KeyframeIndex:int, InReverse:logic). Note that the KeyframeIndex in the callback is generally in [1, NumDeltaKeyframes] except that in a PingPong animation the final keyframe played in reverse is identified as index 0. This is because SetAnimation takes delta keyframes whereas this event notifies the listener that a specific keyframe has been reached. |
MovementCompleteEvent |
listenable(payload) |
Signaled when the entire animation is complete. This will only fire for |
StateChangedEvent |
listenable(payload) |
Signaled when the state has changed. Use |
Functions
| Function Name | Description |
|---|---|
AwaitNextKeyframe |
Suspends at the callsite until the next |
Play |
Starts or resumes playback of the animation. |
Pause |
Pauses the animation if it is already playing. |
Stop |
Stops playback and resets the animation to the first keyframe. Also resets the prop transform. Calling this method is valid while the animation is in the |
GetState |
Returns the current state of this |
IsValid |
Succeeds if this |
SetAnimation |
Sets the animation for the |