|
ModelUtilsGetBounds(ModelVisual3D, Transform3D, Boolean) Method |
GetSceneBounds calculates the bounds of all 3D objects in the rootModelVisual3D after the specified Transform3D has been applied to all positions or all mesh bounds.
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static Rect3D GetBounds(
ModelVisual3D rootModelVisual3D,
Transform3D transform = null,
bool checkOnlyBounds = false
)
Parameters
- rootModelVisual3D ModelVisual3D
- ModelVisual3D
- transform 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