Remove this visual from the current parent's list of children (if current parent is not null),
and add it to the new parent's list of children (if new parent is not null).
The visual's matrix is adjusted accordingly, such that its top-level world location and
orientation is preserved.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic virtual void Reparent(
Visual newParent
)
Parameters
- newParent
- Type: Demo3D.VisualsVisual
The new parent visual for this visual.
See Also