Class StaticMeshComponent
Represents a Mesh.
Inheritance
System.Object
StaticMeshComponent
Implements
System.IDisposable
Inherited Members
Namespace: Aximo.Engine.Components.Geometry
Assembly: AxEngine.dll
Syntax
public class StaticMeshComponent : MeshComponent, IDisposable
Constructors
| Improve this Doc View SourceStaticMeshComponent()
Declaration
public StaticMeshComponent()
StaticMeshComponent(Mesh)
Declaration
public StaticMeshComponent(Mesh mesh)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh |
StaticMeshComponent(Mesh, Material)
Declaration
public StaticMeshComponent(Mesh mesh, Material material)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | |
Material | material |
Properties
| Improve this Doc View SourceMesh
Holds a the Mesh.
Declaration
public Mesh Mesh { get; }
Property Value
Type | Description |
---|---|
Mesh |
Methods
| Improve this Doc View SourceCreateProxy()
Declaration
public override PrimitiveSceneProxy CreateProxy()
Returns
Type | Description |
---|---|
PrimitiveSceneProxy |
Overrides
| Improve this Doc View SourceSetMesh(Mesh)
Sets the Mesh.
Declaration
public void SetMesh(Mesh mesh)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | The mesh data. |
Implements
System.IDisposable