Share via


TriangleMeshShapeProperties Members

Microsoft Robotics Class Reference

The TriangleMeshShapeProperties type exposes the following members.

Constructors

  Name Description
Public method TriangleMeshShapeProperties() () () ()
Default constructor
Public method TriangleMeshShapeProperties(String, String)
Creates a triangle mesh from a preprocessed binary file
Public method TriangleMeshShapeProperties(String, Int32, Int32, Object, Object)
Initialization constructor

Methods

  Name Description
Public method Clone
Clone
(Inherited from ShapeProperties.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method 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.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  Name Description
Public field Advanced
Advanced properties
(Inherited from ShapeProperties.)
Public field ContactFilter
Detailed filtering on contact notifications
(Inherited from ShapeProperties.)
Public field DiffuseColor
Diffuse color value, to be used when creating mesh from physics
(Inherited from ShapeProperties.)
Public field Dimensions
Bounding box dimensions. Box orientation: Width is parallel to the X axis height parallel to Y axis Depth towards positive Z
(Inherited from ShapeProperties.)
Public field EnableContactNotifications
Enables contact notifications for this shape
(Inherited from ShapeProperties.)
Public field IsHeightField
True if this represents a height field
Public field LocalPose
Local position and orientation within the entity
(Inherited from ShapeProperties.)
Public field MassDensity
Mass/weight properties
(Inherited from ShapeProperties.)
Public field Material
Material description for the shape
(Inherited from ShapeProperties.)
Public field Name
Entity scope name. Must be unique within an entity
(Inherited from ShapeProperties.)
Public field Radius
Optional radius of bounding sphere. If dimensions are set, radius can be 0
(Inherited from ShapeProperties.)
Public field ShapeId
Shape identifier.
(Inherited from ShapeProperties.)
Public field TextureFileName
Texture file name, to be used when creating meash from physics
(Inherited from ShapeProperties.)
Public field VerticalAxis
Used for height fields only. Specifies orientation of heightfield
Public field VerticalExtent
Used for heightfields only, determines depth under heightfield that collision detection is active

Properties

  Name Description
Public property FaceCount
Number of triangle faces
(Inherited from MeshShapeProperties.)
Public property Index16Bits
Indicates that the index buffer is 16 bits
(Inherited from MeshShapeProperties.)
Public property IndexBuffer
Index buffer data
(Inherited from MeshShapeProperties.)
Public property ProcessedMeshResource
Local file name to preprocessed binary file generated from mesh data.
(Inherited from MeshShapeProperties.)
Public property VertexBuffer
Vertex buffer data
(Inherited from MeshShapeProperties.)
Public property VertexCount
Number of vertices
(Inherited from MeshShapeProperties.)

See Also

TriangleMeshShapeProperties Class

Microsoft.Robotics.Simulation.Physics Namespace