MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Set

Method Set

Source/Editor/Surface/Elements/BoxValue.cs:171–177  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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}

Callers 4

OnValueChangedMethod · 0.45
OnValueChangedMethod · 0.45
OnValueChangedMethod · 0.45

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected