Click or drag to resize
AB4D logo

BoxMesh3D Class

BoxMesh3D class is used to create MeshGeometry3D that represents a 3D box.
Inheritance Hierarchy
SystemObject
  Ab3d.MeshesBoxMesh3D

Namespace: Ab3d.Meshes
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public class BoxMesh3D : IMesh3D

The BoxMesh3D type exposes the following members.

Constructors
 NameDescription
Public methodBoxMesh3D Constructor
Top
Properties
 NameDescription
Public propertyCreatePolygonIndices Gets or sets a nullable Boolean that specifies if the created MeshGeometry3D will have PolygonIndices set to the PolygonIndicesProperty DependencyProperty. If this value is not set, then static CreatePolygonIndicesByDefault value is used. Default value is null.
Public propertyGeometry Gets the MeshGeometry3D that represents a 3D box.
Public propertyUseSharedMeshData Gets or sets a Boolean that specified if shared and frozen TriangleIndices, TextureCoordinates and Normals are used for simple 3D Boxes (simple 3D box have x, y and z segments equal to 1). Default value is true. If you TriangleIndices, TextureCoordinates and Normals will be changed, than UseSharedMeshData must be set to false before getting the Geometry property (otherwise this will change TriangleIndices, TextureCoordinates and Normals in all 3d box instances).
Top
See Also