NoveltyML reference > Object traits > AnimateTextureY

<AnimateTextureY>

Animates an object's vertical texture coordinates.


Attributes

Attribute Description
from Initial value
to Target value
interval Length of animation
offset Offset of animation
mode Animation mode
reverse Reversing animation?
preview Preview in editor?
target Target coordinates


from [float]

Initial value. Default is 0.

Example:
from = "0.0"


to [float]

Target value. Default is 0.

Example:
to = "1.0"


interval [float]

Length of animation in seconds. Default is 1 second.

Example:
interval = "5"


offset [float]

Animation offset in seconds.

Example:
offset = "0.5"


mode [string]

Sets the animation mode. Determines how the animated value is calculated. Default is "linear"

Value Mode
"linear" Linear interpolation
"curve" Sine curve
"sqrt" Square root
"squared" Squared

Example:
mode = "curve"


reverse [bool]

When set to true, the animation will "bounce back" and play backwards during the second half of the animation.

Example:
reverse = "true"


preview [bool]

When set to true, this trait will animate in the Novelty editor. Default is false.

Example:
preview = "true"


target [string]

Target coordinates to animate. Texture, mask or both.
Default value: "texture"

Value Description
"texture" Animate texture
"mask" Animate mask
"both" Animate texture and mask

Example:
target = "both"


Example

<Traits>
	<AnimateTextureY interval="2" from="0" to="1" />
</Traits>

Back to top