Click or drag to resize
AB4D logo

SimpleMeshT Properties

The SimpleMeshT type exposes the following members.

Properties
 NameDescription
Public propertyArrayStride Gets or sets an integer that specifies how many VertexBufferArray elements define one Vertex. Default value is 1. See remarks for more info.
Public propertyCreateDynamicIndexBuffer Gets or sets a Boolean that specifies if the index buffer is created as a dynamic buffer. This can provide slightly better performance for cases when index buffer is updated very often. Default value is false.
Public propertyCreateDynamicVertexBuffer Gets or sets a Boolean that specifies if the vertex buffer is created as a dynamic buffer. This can provide slightly better performance for cases when vertex buffer is updated very often. Default value is false.
Public propertyIndexBufferArray Gets or sets an array that is used to define the index buffer If this property is changed, then RecreateMesh(Boolean, Boolean, Boolean) method must be called.
Public propertyOctTree Gets or sets an MeshOctTree that can be used for hit testing. The MeshOctTree is automatically generated when number of positions in this mesh is bigger or equal to the value set in MeshPositionsCountForOctTreeGeneration.
Public propertyTrianglesCount Gets the number of triangles that are used to define this mesh.
Public propertyVertexBufferArray Gets or sets an array of T structs that define the vertex buffer. If this property is changed, then RecreateMesh(Boolean, Boolean, Boolean) method must be called.
Top
See Also