|
ModelUtilsGetModelTranslationVector3D Method |
GetModelTranslationVector3D returns a Vector3D that defines how much the model with modelBounds needs to be translated in order to be positioned at a targetPosition that represents a targetPositionType.
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static Vector3D GetModelTranslationVector3D(
Rect3D modelBounds,
Point3D targetPosition,
PositionTypes targetPositionType
)
Parameters
- modelBounds Rect3D
- Model bounding box as Rect3D
- targetPosition Point3D
- position as Point3D
- targetPositionType PositionTypes
- type of position
Return Value
Vector3DVector3D that defines how much the model with modelBounds needs to be translated
See Also