The Bounds
property of the Editor.BaseDropObject
class represents the bounding box of the drop object within the editor environment. This property is of type BBox
, which defines the spatial boundaries of the object in 3D space.
The Bounds
property of the Editor.BaseDropObject
class represents the bounding box of the drop object within the editor environment. This property is of type BBox
, which defines the spatial boundaries of the object in 3D space.
Use the Bounds
property to retrieve or set the bounding box of a drop object. This can be useful for collision detection, spatial queries, or visual representation within the editor.
// Example of accessing the Bounds property Editor.BaseDropObject dropObject = new MyDropObject(); BBox objectBounds = dropObject.Bounds; // Example of setting the Bounds property BBox newBounds = new BBox(new Vector3(0, 0, 0), new Vector3(1, 1, 1)); dropObject.Bounds = newBounds;