Box

Overview

Box is a class in Aspose.3D FOSS for .NET. Inherits from: Primitive.

Box.

Properties

NameTypeAccessDescription
LengthSegmentsintRead/WriteGets or sets the number of subdivisions along the Box length
WidthSegmentsintRead/WriteGets or sets the number of subdivisions along the Box width
HeightSegmentsintRead/WriteGets or sets the number of subdivisions along the Box height
LengthdoubleRead/WriteGets or sets the Box’s length dimension
WidthdoubleRead/Write
HeightdoubleRead/Write

Methods

SignatureDescription
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

See Also