| CombinedMeshesEntity Class |
Namespace: GeonBit.Core.Graphics
public class CombinedMeshesEntity : BaseRenderableEntity
The CombinedMeshesEntity type exposes the following members.
| Name | Description | |
|---|---|---|
| CombinedMeshesEntity | Initializes a new instance of the CombinedMeshesEntity class |
| Name | Description | |
|---|---|---|
| CameraDistanceBias |
Add bias to distance from camera when sorting by distance from camera.
This is useful for particles, sprites etc.
(Inherited from BaseRenderableEntity.) | |
| IsDebugEntity |
If true, this entity will only show in debug / editor mode.
(Inherited from BaseRenderableEntity.) | |
| Visible |
Get / Set if this entity is visible.
(Inherited from BaseRenderableEntity.) | |
| WireFrame |
If true, will draw just the wireframe of the entity.
Note: settings this property will change the rendering queue property.
(Inherited from BaseRenderableEntity.) |
| Name | Description | |
|---|---|---|
| AddModel |
Add a model to the combined mesh.
| |
| AddModelMesh |
Add a model mesh to the combined mesh.
| |
| AddVertices(VertexPositionNormalTexture, Int16, MaterialAPI) |
Add array of vertices to the combined mesh.
| |
| AddVertices(VertexPositionNormalTexture, Int16, Matrix, MaterialAPI) |
Add array of vertices to the combined mesh.
| |
| Build |
Build the combined meshes renderer.
| |
| Clear |
Clear everything from the combined meshed renderer.
| |
| Clone |
Clone this combined entity.
| |
| DoEntityDraw |
Draw this model.
(Overrides BaseRenderableEntityDoEntityDraw(Matrix).) | |
| Draw |
Draw the entity.
(Inherited from BaseRenderableEntity.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetBoundingBox |
Get the bounding box of this entity, either from cache or calculate it.
(Inherited from BaseRenderableEntity.) | |
| GetBoundingSphere |
Get the bounding sphere of this entity, either from cache or calculate it.
(Inherited from BaseRenderableEntity.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetLastBoundingBox |
Return the last calculated bounding box.
Note: this value may be out-of-date if transformations changed since last calculation.
(Inherited from BaseRenderableEntity.) | |
| GetLastBoundingSphere |
Return the last calculated bounding sphere.
Note: this value may be out-of-date if transformations changed since last calculation.
(Inherited from BaseRenderableEntity.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| BlendingState |
Blending state for this entity.
(Inherited from BaseRenderableEntity.) | |
| RenderingQueue |
Which rendering queue to use for this entity.
Rendering queues determine different rendering settings (like opacity support, blending, sorting etc) + the order
in which the entities are drawn.
(Inherited from BaseRenderableEntity.) |