WorldTransformedSceneNodes(SceneNode, Dictionary<SceneNode, float>)
Iterates through every nodes under a root with computed transform and opacities.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
public static IEnumerable<VectorUtils.SceneNodeWorldTransform> WorldTransformedSceneNodes(SceneNode root, Dictionary<SceneNode, float> nodeOpacities)
Parameters
The starting node of the hierarchy
Storage for the resulting node opacities, may be null
Returns
Type | Description |
|---|---|
| IEnumerable<SceneNodeWorldTransform> | An enumeration of every node with their pre-computed world transforms, opacities and paths. |