Click or drag to resize
Ab4d.SharpEngine logo

Mesh Properties

The Mesh type exposes the following members.

Properties
 NameDescription
Public propertyAvailableDataChannels Gets all available data channels for this mesh.
Public propertyBoundingBox Gets the bounding box of the mesh
Public propertyHasCustomMeshDataChannels True when this mesh has any custom data channels that were added by calling SetDataChannel method.
Public propertyIndexBuffer Gets the GpuBuffer with IndexBuffer data. The IndexBuffer is set by protected SetIndexBuffer(GpuBuffer, Int32) method.
Public propertyIndexBufferType Gets IndexBufferType
Public propertyIndexCount Gets number of vertices that are used by this mesh.
Public propertyIsLocked Indicates that the mesh will never change, so it can be optimized by the engine (for example merged with some other mesh).
Public propertyIsSceneCached Indicates that this mesh is cashed by Scene objects and cannot be disposed by calling Dispose method. This means the mesh can be shared without worrying that someone will dispose the mesh. This flag is set when the mesh is cached by calling Scene.CacheObject(String, Object) method. The mesh will be disposed when the Scene will be disposed or if it is removed from the cache and then disposed.
Public propertyPrimitiveTopology Gets PrimitiveTopology
Public propertyVersion Gets the version number of this Material. Version is increased each time the material is changed. Note: When material is changed a lot of times, the Version value can overflow from positive to negative numbers (to prevent problems do not check for bigger value but for not equal value)
Public propertyVertexBuffer Gets the GpuBuffer with VertexBuffer data. The VertexBuffer is set by protected SetVertexBuffer(GpuBuffer, Int32) method.
Public propertyVertexBufferDescription Gets VertexBufferDescription
Public propertyVertexCount Gets number of vertices that are used by this mesh.
Top
See Also