AnimationGeometry
- Last UpdatedApr 11, 2025
- 2 minute read
Use the Animationgeometry node to map and command a vertex-type animation that is associated to a mesh object.
Platform support
This node is fully supported on XR-Windows, XR-Portable Windows, XR-Portable iOS, XR-Portable Android, and XR-Portable 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 Animationgeometry node.
<Animationgeometry name="flag01" mesh="flag_001" animation="anim_flag_001" loop="true" start="true"/>
Animationgeometry fields
These are the fields for Animationgeometry node. Only the node-specific fields are indicated, not fields obtained by inheritance.
Field inheritance: NodeBase > AnimationGeometry
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
animation |
sstring |
Mandatory |
Not set |
Name of the animation. |
|
autostart |
sbool |
Optional |
false |
When true, the Sound plays automatically when the application starts. |
|
clone |
sstring |
Optional |
Not set |
The name of the mesh to clone. It can apply an animation designed for one mesh to a cloned mesh. This feature works only if the two meshes are identical. |
|
currentAlpha |
sfloat |
Optional |
0 |
The calculated current alpha during play. Can also drive the animation or set to a particular position. The 0-1 range can be driven by many other nodes. |
|
currentTime |
sfloat |
Optional |
0 |
The calculated current time during play. Can also drive the animation or set to a particular position. |
|
length |
sfloat |
Read only |
Internally calculated |
The internally calculated animation length in time. |
|
loop |
sbool |
Optional |
false |
Set true to play looped. |
|
mesh |
sstring |
Mandatory |
Not set |
Name of the animated mesh. |
|
pause |
sevent |
Optional |
Not set |
Pauses the animation. |
|
speed |
sfloat |
Optional |
1 |
Modifies the animation speed. |
|
start |
sevent |
Optional |
Not set |
Starts the animation. |
|
stop |
sevent |
Optional |
Not set |
Stops the animation. |