Sets the floating point value of the specified parent node. Handles type casting and components assignment. The parent node. The node element archetype. The value to set.
(SurfaceNode parentNode, NodeElementArchetype arch, ref BoundingBox toSet)
| 169 | /// <param name="arch">The node element archetype.</param> |
| 170 | /// <param name="toSet">The value to set.</param> |
| 171 | public static void Set(SurfaceNode parentNode, NodeElementArchetype arch, ref BoundingBox toSet) |
| 172 | { |
| 173 | if (arch.ValueIndex < 0) |
| 174 | return; |
| 175 | |
| 176 | parentNode.SetValue(arch.ValueIndex, toSet); |
| 177 | } |
| 178 | } |
| 179 | } |
no test coverage detected