Animation Properties |
The Animation type exposes the following members.
Name | Description | |
---|---|---|
DynamicObject |
Gets a new DynamicGodotObject associated with this instance.
(Inherited from Object.) | |
Length | The total length of the animation (in seconds). Note: Length is not delimited by the last key, as this one may be before or after the end to ensure correct interpolation and looping. | |
Loop | A flag indicating that the animation must loop. This is used for correct interpolation of animation cycles, and for hinting the player that it must restart the animation. | |
NativeInstance | (Inherited from Object.) | |
ResourceLocalToScene | If true, the resource will be made unique in each instance of its local scene. It can thus be modified in a scene instance without impacting other instances of that same scene. | |
ResourceName | The name of the resource. This is an optional identifier. If ResourceName is not empty, its value will be displayed to represent the current resource in the editor inspector. For built-in scripts, the ResourceName will be displayed as the tab name in the script editor. | |
ResourcePath | The path to the resource. In case it has its own file, it will return its filepath. If it's tied to the scene, it will return the scene's path, followed by the resource's index. | |
Step | The animation step value. |