Public Member Functions | |
| BaseTexture | GetTexture (int index) |
| Gets a texture from the mesh. | |
| Material | GetMaterial (int index) |
| Gets a material from the mesh. | |
| FrameworkMesh (Device device, string name) | |
| Create a new mesh using this file. | |
| FrameworkMesh () | |
| Create a new mesh. | |
| void | Create (Device device, string name) |
| Create the mesh data. | |
| void | CreateMaterials (string folder, Device device, GraphicsStream adjacency, ExtendedMaterial[] materials) |
| Create the materials for the mesh. | |
| void | SetVertexFormat (Device device, VertexFormats format) |
| Updates the mesh to a new vertex format. | |
| void | SetVertexDeclaration (Device device, VertexElement[] decl) |
| Updates the mesh to a new vertex declaration. | |
| void | Render (Device device, bool canDrawOpaque, bool canDrawAlpha) |
| Renders this mesh. | |
| void | Render (Device device) |
| Renders this mesh. | |
| float | ComputeBoundingSphere (out Vector3 center) |
| Compute a bounding sphere for this mesh. | |
| void | Dispose () |
| Cleans up any resources required when this object is disposed. | |
| BaseTexture | GetTexture (int index) |
| Gets a texture from the mesh. | |
| Material | GetMaterial (int index) |
| Gets a material from the mesh. | |
| FrameworkMesh (Device device, string name) | |
| Create a new mesh using this file. | |
| FrameworkMesh () | |
| Create a new mesh. | |
| void | Create (Device device, string name) |
| Create the mesh data. | |
| void | CreateMaterials (string folder, Device device, GraphicsStream adjacency, ExtendedMaterial[] materials) |
| Create the materials for the mesh. | |
| void | SetVertexFormat (Device device, VertexFormats format) |
| Updates the mesh to a new vertex format. | |
| void | SetVertexDeclaration (Device device, VertexElement[] decl) |
| Updates the mesh to a new vertex declaration. | |
| void | Render (Device device, bool canDrawOpaque, bool canDrawAlpha) |
| Renders this mesh. | |
| void | Render (Device device) |
| Renders this mesh. | |
| float | ComputeBoundingSphere (out Vector3 center) |
| Compute a bounding sphere for this mesh. | |
| void | Dispose () |
| Cleans up any resources required when this object is disposed. | |
| BaseTexture | GetTexture (int index) |
| Gets a texture from the mesh. | |
| Material | GetMaterial (int index) |
| Gets a material from the mesh. | |
| FrameworkMesh (Device device, string name) | |
| Create a new mesh using this file. | |
| FrameworkMesh () | |
| Create a new mesh. | |
| void | Create (Device device, string name) |
| Create the mesh data. | |
| void | CreateMaterials (string folder, Device device, GraphicsBuffer adjacency, MaterialList materials) |
| Create the materials for the mesh. | |
| void | SetVertexFormat (Device device, VertexFormats format) |
| Updates the mesh to a new vertex format. | |
| void | SetVertexDeclaration (Device device, VertexElement[] decl) |
| Updates the mesh to a new vertex declaration. | |
| void | Render (Device device, bool canDrawOpaque, bool canDrawAlpha) |
| Renders this mesh. | |
| void | Render (Device device) |
| Renders this mesh. | |
| BoundingSphere | ComputeBoundingSphere () |
| Compute a bounding sphere for this mesh. | |
| void | Dispose () |
| Cleans up any resources required when this object is disposed. | |
Properties | |
| Mesh | SystemMesh [get] |
| Returns the system memory mesh. | |
| Mesh | LocalMesh [get] |
| Returns the local memory mesh. | |
| bool | IsUsingMaterials [get, set] |
| Should the mesh be rendered with materials. | |
| int | NumberMaterials [get] |
| Number of materials in mesh. | |
Definition at line 15 of file dxmutmesh.cs.
| Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.FrameworkMesh | ( | Device | device, | |
| string | name | |||
| ) |
| Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.FrameworkMesh | ( | ) |
| Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.FrameworkMesh | ( | Device | device, | |
| string | name | |||
| ) |
| Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.FrameworkMesh | ( | ) |
| Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.FrameworkMesh | ( | Device | device, | |
| string | name | |||
| ) |
| Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.FrameworkMesh | ( | ) |
| BoundingSphere Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.ComputeBoundingSphere | ( | ) |
| float Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.ComputeBoundingSphere | ( | out Vector3 | center | ) |
| float Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.ComputeBoundingSphere | ( | out Vector3 | center | ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.Create | ( | Device | device, | |
| string | name | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.Create | ( | Device | device, | |
| string | name | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.Create | ( | Device | device, | |
| string | name | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.CreateMaterials | ( | string | folder, | |
| Device | device, | |||
| GraphicsBuffer | adjacency, | |||
| MaterialList | materials | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.CreateMaterials | ( | string | folder, | |
| Device | device, | |||
| GraphicsStream | adjacency, | |||
| ExtendedMaterial[] | materials | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.CreateMaterials | ( | string | folder, | |
| Device | device, | |||
| GraphicsStream | adjacency, | |||
| ExtendedMaterial[] | materials | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.Dispose | ( | ) |
Cleans up any resources required when this object is disposed.
Definition at line 352 of file wdxmutmesh.cs.
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.Dispose | ( | ) |
Cleans up any resources required when this object is disposed.
Definition at line 356 of file dxmutmesh.cs.
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.Dispose | ( | ) |
Cleans up any resources required when this object is disposed.
Definition at line 356 of file dxmutmesh.cs.
| Material Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.GetMaterial | ( | int | index | ) |
| Material Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.GetMaterial | ( | int | index | ) |
| Material Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.GetMaterial | ( | int | index | ) |
Gets a material from the mesh.
Definition at line 37 of file dxmutmesh.cs.

| BaseTexture Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.GetTexture | ( | int | index | ) |
| BaseTexture Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.GetTexture | ( | int | index | ) |
| BaseTexture Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.GetTexture | ( | int | index | ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.Render | ( | Device | device | ) |
Renders this mesh.
Definition at line 321 of file wdxmutmesh.cs.


| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.Render | ( | Device | device, | |
| bool | canDrawOpaque, | |||
| bool | canDrawAlpha | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.Render | ( | Device | device | ) |
Renders this mesh.
Definition at line 322 of file dxmutmesh.cs.


| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.Render | ( | Device | device, | |
| bool | canDrawOpaque, | |||
| bool | canDrawAlpha | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.Render | ( | Device | device | ) |
Renders this mesh.
Definition at line 322 of file dxmutmesh.cs.


| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.Render | ( | Device | device, | |
| bool | canDrawOpaque, | |||
| bool | canDrawAlpha | |||
| ) |
Renders this mesh.
Definition at line 283 of file dxmutmesh.cs.

| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.SetVertexDeclaration | ( | Device | device, | |
| VertexElement[] | decl | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.SetVertexDeclaration | ( | Device | device, | |
| VertexElement[] | decl | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.SetVertexDeclaration | ( | Device | device, | |
| VertexElement[] | decl | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.SetVertexFormat | ( | Device | device, | |
| VertexFormats | format | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.SetVertexFormat | ( | Device | device, | |
| VertexFormats | format | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.FrameworkMesh.SetVertexFormat | ( | Device | device, | |
| VertexFormats | format | |||
| ) |
bool Microsoft::Samples::DirectX::UtilityToolkit.FrameworkMesh::IsUsingMaterials [get, set] |
Mesh Microsoft::Samples::DirectX::UtilityToolkit.FrameworkMesh::LocalMesh [get] |
int Microsoft::Samples::DirectX::UtilityToolkit.FrameworkMesh::NumberMaterials [get] |
Mesh Microsoft::Samples::DirectX::UtilityToolkit.FrameworkMesh::SystemMesh [get] |
1.5.8