DXMulti |
The DXMultiMeshGeometry3D type exposes the following members.
Name | Description | |
---|---|---|
AddSubMesh | Adds list of MeshGeometry3D with their Transformations and optionally custom texture coordinates. | |
GetClosestHitResult | GetClosestHitResult method returns a DXRayHitTestResult with the closest triangle hit by the specified ray. When no triangle is hit, null is returned. | |
GetNextHitResult | GetNextHitResult method continues hit testing from the previously returned hit test and returns a DXRayHitTestResult with the next hit triangle (not necessary the next closest triangle) or null if no other triangle is hit. This method can be used to get all hit results. | |
GetTrianglePositions | GetTrianglePositions sets the 3 positions that define the triangle with the specified triangle index. | |
HitTest | Hit test the specified ray against this mesh and returns the closest hit result or null if no hit is found. | |
RecreateMesh | Creates new VertexBuffers and IndexBuffer from the added submeshes. This method also clears the list of added submeshes - you will need to call AddSubMesh method again before next RecreateMesh call. |