Returns a collection of Parameter objects for all parameters animated by a specific animation source type on this object's node. This function looks for animated parameters locally and doesn't recursively visit the children objects.
ParameterCollection X3DObject.NodeAnimatedParameters( siSourceType, Boolean ); |
oReturn = X3DObject.NodeAnimatedParameters( [sourceType], [Local] ); |
Parameter | Type | Description |
---|---|---|
sourceType | siSourceType | Animation source type
Default Value: siAnySource |
Local | Boolean | Specifies whether the animation to gather is local to the
object or not. If the flag is true then all animated parameters
that come from propagated properties or from intermediate nodes are
ignored. Intermediate nodes are nested under the object but are not
necessary owned by the object itself. For instance, the camera
object nested under a Texture_Projection_Def property is not
considered unless the target object is the projection property
itself. When the flag is set to false (default), all parameters are
considered.
Default Value: False |
NewScene , false set oRoot = Application.ActiveProject.ActiveScene.Root set oCube = oRoot.AddGeometry( "Cube", "MeshSurface" ) vals = Array(0.00, 5.00, 1.00, 6.00, 2.00, 7.00, 3.00, 8.00, 4.00, 9.00, 5.00, 10.00) set f = oCube.posx.AddFCurve2(vals) for each p in oCube.NodeAnimatedParameters( siAnySource ) Application.LogMessage p.FullName & " is node animated" next ' Expected results: 'INFO : cube.kine.local.posx is node animated |