|
ModelUtilsGetBounds(Model3D, Transform3D, Boolean) Method |
GetSceneBounds calculates the bounds of the rootModel3D with checking all positions (when checkOnlyBounds is false) or all mesh bounds (when checkOnlyBounds is true).
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static Rect3D GetBounds(
Model3D rootModel3D,
Transform3D rootTransform = null,
bool checkOnlyBounds = false
)
Parameters
- rootModel3D Model3D
- Model3D
- rootTransform Transform3D (Optional)
- Transform3D that will be applied to all child objects
- checkOnlyBounds Boolean (Optional)
- if true true, then each MeshGeometry3D's Bounds will be checked; if false (by default) then every position will be checked
Return Value
Rect3DRect3D that represents the bounds
See Also