Returns the rate at which the VoxelObject animation is played (or would be played, if isPlaying() is false). A rate of 1 means that the animation is played at its default speed as intended by its author, while a rate of 0.5 is half speed, a rate of 2 is twice the speed, etc... A negative value plays the animation backwards.
Gets the size of the element in UI-size units. Note that it is not recommended to use this in combination with setSize2D.
Returns the current time position in the VoxelObject animation, in seconds.
Returns the VoxelObject this element is displaying.
Indicates whether this VoxelObject element is playing the VoxelObject animation.
Indicates whether this element is visible or not.
Sets whether the VoxelObject displayed by this element should be played (i.e. animated).
Use true to play the VoxelObject animation, false to keep it static, in which case, setTime() dictactes which frame of the animation is showed.
Sets the opacity level, between 0 (fully transparent, i.e invisible) and 1 (fully opaque), at which the VoxelObject is rendered. This is used to make the VoxelObject see-through.
The opacity level between 0 and 1.
Sets the rate at which the VoxelObject animation is played. This has no effect if the isPlaying() is false. A rate of 1 means that the animation is played at its default speed as intended by its author, while a rate of 0.5 is half speed, a rate of 2 is twice the speed, etc... A negative value plays the animation backwards.
Sets the position of this element, in UI-position units.
The position, in UI-position units.
Sets the size of the element in UI-size units. This will make the element uniformly scaled on both the X and Y axis.
Set the time position in the VoxelObject animation, in seconds.
Sets the visibility of the element (i.e. hide or show) in the UI.
Use true to show the element or false to hide it.
Updates the time of this element so it displays the VoxelObject frame at the animation key specified by its index. If the index is negative the first key is used. If it's greater than the number of keys, the last key is used.
The index of the animation key in the VoxelObject sequence which frame we want to display.
Returns the opacity level, between 0 (fully transparent, i.e invisible) and 1 (fully opaque), at which the VoxelObject is rendered