VisualEntityMesh Members
Microsoft Robotics Class Reference
The VisualEntityMesh type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VisualEntityMesh(GraphicsDevice, BoxShapeProperties) |
Create a box mesh from BoxShapeProperties
|
|
VisualEntityMesh(GraphicsDevice, CapsuleShapeProperties) |
Create a capsule using CapsuleShapeProperties
|
|
VisualEntityMesh(GraphicsDevice, HeightFieldShapeProperties) |
Create a terrain mesh using HeightFieldShapeProperties
|
|
VisualEntityMesh(GraphicsDevice, SphereShapeProperties) |
Create a sphere mesh from SphereShapeProperties
|
|
VisualEntityMesh(GraphicsDevice, WheelShapeProperties) |
Create a torus using WheelShapeProperties
|
|
VisualEntityMesh(GraphicsDevice, Stream, Boolean) |
Create mesh based on file data
|
|
VisualEntityMesh(GraphicsDevice, Single, Single) |
Create a Sprite Mesh with the specified width and height
|
|
VisualEntityMesh(GraphicsDevice, HeightFieldShapeProperties, Int32, Int32, Int32, Int32, Int32) |
Create an advanced terrain mesh, with Level Of Detail (LOD) support using HeightFieldShapeProperties
|
Methods
Name | Description | |
---|---|---|
ComputeBoundingVolume |
Compute bounding sphere
|
|
CreateConvexMeshShape |
Generates a convex physics collision mesh using the geometry data from the supplied graphics mesh
|
|
CreateTriangleMeshShape |
Generates a physics collision mesh using the geometry data from the supplied graphics mesh
|
|
Dispose |
Frees resources
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
Intersect |
Intersects a ray with this mesh and returns a list of intersection records
|
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
ToString |
Returns short name for property editor
(Overrides Object. . :: . .ToString() () () ().) |
|
UpdateNormals |
Simulation internal use. Not implemented
|
Properties
Name | Description | |
---|---|---|
AllowInstancing |
Defaults to true to give the capability for this mesh to use batched instancing. Under the scenerio you don't want this or are noticing artifacts, set this to false. Generally, you shouldn't need to modifify this value
|
|
BoundingBox |
Bounding Box, calculated once on mesh creation
|
|
BoundingSphere |
Bounding sphere, calculated once on mesh creation
|
|
FaceCount |
Number of triangle faces
|
|
IndexBuffer |
Index buffer
|
|
IndexBufferData |
Array of index buffer data
|
|
PhysicsIndexBufferData |
Array of index buffer data where each index batch is not zero-based
|
|
RenderingMaterials |
Materials
|
|
RequiresTexture |
True if this VisualEntityMesh uses one or more textures
|
|
SimplifiedIndexBufferData |
Array of simplified index buffer data
|
|
SimplifiedVertexBufferData |
Array of simplified vertex buffer data
|
|
TextureFilenames |
Textures Filenames
|
|
Textures |
Textures
|
|
TransformedVertexBufferData |
Array of vertex buffer data transformed by its model transform
|
|
VertexBuffer |
Vertex buffer
|
|
VertexBufferData |
Array of vertex buffer data
|
|
VertexCount |
Number of vertices
|
|
VertexDeclaration |
Vertex declaration
|