MDLMesh Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of MDLSubmesh objects that, together, define the geometric and material properties for rendering a 3D object.
[Foundation.Register("MDLMesh", true)]
public class MDLMesh : ModelIO.MDLObject
[<Foundation.Register("MDLMesh", true)>]
type MDLMesh = class
inherit MDLObject
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| MDLMesh() |
Creates a new MDLMesh with default values. |
| MDLMesh(IMDLMeshBuffer, UIntPtr, MDLVertexDescriptor, MDLSubmesh[]) | |
| MDLMesh(IMDLMeshBuffer[], UIntPtr, MDLVertexDescriptor, MDLSubmesh[]) | |
| MDLMesh(IMDLMeshBufferAllocator) |
Creates a new Model IO mesh with the specified buffer allocator. |
| MDLMesh(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| MDLMesh(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| Allocator | |
| AnisotropyVertexData |
Gets the visual anisotropy of the surface, if present. This data is associated with the Anisotropy key. |
| BinormalVertexData |
Gets the binormal data at each vertex. These data are associated with the Binormal key. |
| BitangentVertexData |
Gets the bitangent vectors for each vertex. These data are associated with the Bitangent key. |
| BoundingBox |
Gets the smallest box that contains all of the vertices in the mesh. |
| Children |
Gets or sets the list of the objects of type MDLObject that belong to this MDLObject. (Inherited from MDLObject) |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| ColorVertexData |
Gets color data for each vertex. These data are associated with the Color key. |
| Components |
Gets the array of components that belong to this Model I/O object. (Inherited from MDLObject) |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| EdgeCreaseVertexData |
Gets data that describe which edges that should not be modified when subdividing the surface. These data are associated with the EdgeCrease key. |
| ExposedBindings | (Inherited from NSObject) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| Hidden |
Gets or sets a Boolean value that controls whether the Model IO object is hidden. (Inherited from MDLObject) |
| Instance | (Inherited from MDLObject) |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| JointIndicesVertexData |
Gets bone and joint indices. These data are associated with the JointIndices key. |
| JointWeightsVertexData |
Gets bone and joint weight information that is used to render a mesh that is associated with a skeleton. These data are associated with the JointWeights key. |
| Name |
Gets or sets the descriptive name of the named object. (Inherited from MDLObject) |
| NormalVertexData |
Gets normal vectors for the mesh vertices. These data are associated with the Normal key. |
| OcclusionValueVertexData |
Gets occlusion data for the mesh vertices. These data are associated with the OcclusionValue key. |
| Parent |
Gets or sets this MDLObject object's parent, or |
| Path | (Inherited from MDLObject) |
| PositionVertexData |
Gets the positions of the mesh vertices. These data are associated with the Position key. |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| ShadingBasisUVertexData |
Gets the U basis vectors that are used for shading. These data are associated with the ShadingBasisU key. |
| ShadingBasisVVertexData |
Gets the V basis vectors that are used for shading. These data are associated with the ShadingBasisV key. |
| SubdivisionStencilVertexData |
Gets the data that decide which neighboring vertices are used for subdivision calculations. These data are associated with the SubdivisionStencil key. |
| Submeshes |
Gets the array of submeshes for this mesh. |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| TangentVertexData |
Gets the vertex tangent data. These data are associated with the Tangent key. |
| TextureCoordinateVertexData |
Gets the coordinate system for texture operations on vertices. These data are associated with the TextureCoordinate key. |
| Transform |
Gets or sets the possibly time-dependent transform that establishes this MDLObject object's coordinate system in relation to its parent's coordinate system. (Inherited from MDLObject) |
| VertexBuffers |
Gets the buffers that contain the vertex data for the mesh. |
| VertexCount |
Gets the number of vertices in the entire mesh. |
| VertexDescriptor |
Gets or sets the description of the in-memory layout of vertices in a mesh. |
| Zone | (Inherited from NSObject) |