Box
Overview
Box is a class in Aspose.3D FOSS for .NET.
Inherits from: Primitive.
Box.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
LengthSegments | int | Read/Write | Gets or sets the number of subdivisions along the Box length |
WidthSegments | int | Read/Write | Gets or sets the number of subdivisions along the Box width |
HeightSegments | int | Read/Write | Gets or sets the number of subdivisions along the Box height |
Length | double | Read/Write | Gets or sets the Box’s length dimension |
Width | double | Read/Write | |
Height | double | Read/Write |
Methods
| Signature | Description |
|---|---|
Box() | Creates a new empty Box instance with default dimensions |
Box(length: double, width: double, height: double) | |
Box(name: string, length: double, width: double, height: double, lengthSegments: int, widthSegments: int, heightSegments: int) | |
ToMesh() | Convert current object to mesh |
GetBoundingBox() | Gets the bounding box of current entity in its object space coordinate system. |
GetEntityRendererKey() | Gets the key of the entity renderer registered in the renderer |