Playable

Módulo requerido

Componentes y propiedades

Nombre Descripción
Bezier Curve Bezier Curve
Playable.Playing Status Whether the wave is playing or not
Playable.FLAG Flag bit
Playable.Auto-Play Status If checked, it will be played automatically upon creation.
Loopable.Is Looping Is Loop
Tween Style Type Tween Campaign Playing Style
Tween Curve[Obsoleto] (Deprecated, please do not use)
Tween Tween Movement
PlayableOrPlayables Playable or List of Playables
Trajectory Trajectory Animation is an animation that simulates Trajectory movement.
Self-Relative Self-relative movement
Frame Self Relative Frame Self Relative
Follow One object follows another object
LookAt An object’s front face is always facing the other object.
Along Path Motion Motion objects moving along a customized path

Event

Nombre Descripción
On Start Fired when a playable entity starts playing
On End Triggered when the playable entity finishes playing. This event only takes effect on the client side when the playable entity is a sound effect, special effect, etc.
On Resume Triggered when a playable entity resumes playing
On Pause Triggered when a playable entity is paused
On Each Loop Triggered each time the playable entity loops. This event only takes effect on the client side when the playable entity is a sound effect, special effect, etc.

API

Nombre Descripción
Create Interpolation Motion[Obsoleto] Create Tween
Create Self Relative Create relative self-motion, the target entity changes each time relative to its current attribute value
Create Frame Self Relative Creates relative motion per frame. The target entity changes its own attributes once per frame, each time relative to its current attribute value.
Create Tween Create interpolated motion, the specified attributes of the target entity will move smoothly according to the settings
Custom Curve[Obsoleto] NewCurve (deprecated, use CreateTweenCurve)
Play Attempts to play the target entity, which must have a playable component
Reset Reset the playable entity to restore the playable entity to its initial state.This will not change the playback state
Pause Pause playable entities
Create Trajectory Creating a Trajectory motion will give the target entity an initial velocity and acceleration with direction
Create Follow Creates a following motion where the target entity follows the specified object.
Create Look At Creates a gaze following motion, where the target entity stays oriented towards the specified object
Sample On Curve Get the value on the curve
Get Result From Curve Interpolate according to the curve
Create Sound Play the specified sound effect. If there are more properties that need to be set, you can set its entity properties.
Create Sound Create a specified sound effect. If there are more properties that need to be set, you can set its entity properties.
Create Effect Create a specified visual effect. If there are more properties that need to be set, you can set its entity properties.
CreateEffect Create a specified visual effect. If there are more properties that need to be set, you can set its entity properties.
Create Along Path Motion Create an interpolated movement along a path to make the object move along the specified path