MoveOriginMoveOriginTo(Visual, Vector3) Method |
Transform the origin of the visual so it's position is the one provided relative to the visuals parent.
The rotation will not be modified
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic static void MoveOriginTo(
Visual visual,
Vector3 position
)
Parameters
- visual Visual
- Visual to be transformed
- position Vector3
- Desired position of the origin
See Also