Method WorldTransformedSceneNodes
WorldTransformedSceneNodes(SceneNode, Dictionary<SceneNode, float>)
Iterates through every nodes under a root with computed transform and opacities.
Declaration
public static IEnumerable<VectorUtils.SceneNodeWorldTransform> WorldTransformedSceneNodes(SceneNode root, Dictionary<SceneNode, float> nodeOpacities)
Parameters
Type | Name | Description |
---|---|---|
SceneNode | root | The starting node of the hierarchy |
Dictionary<SceneNode, float> | nodeOpacities | Storage for the resulting node opacities, may be null |
Returns
Type | Description |
---|---|
IEnumerable<VectorUtils.SceneNodeWorldTransform> | An enumeration of every node with their pre-computed world transforms, opacities and paths. |