transition node


The transition node modifies the value of one of a node's properties over time.

For more information regarding the scripting of this node see the scripting reference entry for transition.


This node cannot contain children.

Example B.11. Use of transition node

<transition object="myplane" what="position" end="2 1 3" times="2" length="3000"/>


transition attributes
objectan object idthis attribute must be specifiedthe id of the node that will be altered by this action
whatposition, rotation, scale or colorthis attribute must be specifiedthe property to change
startdepends on property specified the start value of the transition. If start isn't specified then the value of the property at the start of the transition is used
enddepends on property specifiedthis attribute must be specifiedthe end value of the transition
lengthinteger1000the amount of time, in milliseconds, that this transition takes
typelinear or smoothlinearalters the appearance of the transition with time

Attributes common to action nodes
timesinteger1the number of times to perform this action. Use -1 to repeat indefinitely

Attributes common to nodes
visiblebooleantrueIf false, this node (or its children, if it has any) will not be rendered.
colorr g b a (in range 0 to 1)1 1 1 1specifies the color used to modulate this node and its children
idstring an identifier used to refer to this node