AnimationTexture
- Last UpdatedMay 21, 2025
- 2 minute read
Use the AnimationTexture node to map and command a vertex-type animation that is associated to a texture.
Platform support
This element is fully supported on XR-Windows, XR-Portable Windows, XR-Portable iOS, XR-Portable Android, and XR-P WASM platforms.
|
XR-WIN |
XR-P-WIN |
XR-P-IOS |
XR-P-AND |
XR-P-WASM |
|---|---|---|---|---|
|
Full support |
Full support |
Full support |
Full support |
Full support |
|
|
|
|
|
|
Code example
This is a code example for the AnimationTexture node.
<animationtexture name="txt_%mesh%" texture="animt_%mesh%" clone="AnimVapore" assignToMesh="%mesh%" />
AnimationTexture fields
These are the fields for AnimationTexture. Only the node-specific fields are indicated, not fields obtained by inheritance.
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
assignToMesh |
sstring |
Mandatory |
No default value |
A list of the meshes to apply the animationTexture to. |
|
clone |
sstring |
Optional |
No default value |
The name of the texture to clone. It can apply an animation designed for one texture to a cloned texture. This feature works only if the two textures are identical. |
|
length |
sfloat |
Read only |
Internally calculated |
The internally calculated animation length in time. |
|
restart |
sevent |
Optional |
No default value |
Restart the animation. |
|
texture |
sstring |
Optional |
No default value |
Name of the animated texture. |