on Animate Node
fun Node.onAnimateNode(animationProperty: AnimationProperty = AnimationProperty.POSITION, initialValue: Float3 = DEFAULT_CAMERA_CONFIG_FLOAT3_ZERO, finalValue: Float3 = DEFAULT_CAMERA_CONFIG_FLOAT3_ZERO, animationDuration: Long = DEFAULT_CAMERA_CONFIG_ANIMATION_DURATION)
Animate a node in the 3D scene with the given properties and values
Parameters
animation Property
the property to animate (position, scale, rotation) (default is "position") takes a String
initial Value
the initial value of the property (default is Float3(0f, 0f, 0f)) takes a Float3
final Value
the final value of the property (default is Float3(0f, 0f, 0f)) takes a Float3
animation Duration
the duration of the animation (default is 600L) takes a Long