Mesh Properties |
The Mesh type exposes the following members.
Name | Description | |
---|---|---|
AvailableDataChannels | Gets all available data channels for this mesh. | |
BoundingBox | Gets the bounding box of the mesh | |
HasCustomMeshDataChannels | True when this mesh has any custom data channels that were added by calling SetDataChannel method. | |
IndexBuffer | Gets the GpuBuffer with IndexBuffer data. The IndexBuffer is set by protected SetIndexBuffer(GpuBuffer, Int32) method. | |
IndexBufferType | Gets IndexBufferType | |
IndexCount | Gets number of vertices that are used by this mesh. | |
IsLocked | Indicates that the mesh will never change, so it can be optimized by the engine (for example merged with some other mesh). | |
IsSceneCached | 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. | |
PrimitiveTopology | Gets PrimitiveTopology | |
Version | 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) | |
VertexBuffer | Gets the GpuBuffer with VertexBuffer data. The VertexBuffer is set by protected SetVertexBuffer(GpuBuffer, Int32) method. | |
VertexBufferDescription | Gets VertexBufferDescription | |
VertexCount | Gets number of vertices that are used by this mesh. |