Class BoneSkinnedMeshGeometry3D
- Namespace
- HelixToolkit.SharpDX
- Assembly
- HelixToolkit.SharpDX.dll
[Serializable]
public class BoneSkinnedMeshGeometry3D : MeshGeometry3D, INotifyPropertyChanged, IGUID
- Inheritance
-
BoneSkinnedMeshGeometry3D
- Implements
- Inherited Members
- Extension Methods
Constructors
BoneSkinnedMeshGeometry3D()
public BoneSkinnedMeshGeometry3D()
BoneSkinnedMeshGeometry3D(MeshGeometry3D)
public BoneSkinnedMeshGeometry3D(MeshGeometry3D mesh)
Parameters
meshMeshGeometry3D
Properties
VertexBoneIds
Gets or sets the vertex bone ids and bone weights.
public IList<BoneIds>? VertexBoneIds { get; set; }
Property Value
Methods
CreateNodeBasedBoneMatrices(IList<Bone>, ref Matrix4x4)
Creates the node based bone matrices.
public static Matrix4x4[]? CreateNodeBasedBoneMatrices(IList<Bone> bones, ref Matrix4x4 rootInvTransform)
Parameters
Returns
CreateNodeBasedBoneMatrices(IList<Bone>, ref Matrix4x4, ref Matrix4x4[]?)
Creates the node based bone matrices.
public static void CreateNodeBasedBoneMatrices(IList<Bone> bones, ref Matrix4x4 rootInvTransform, ref Matrix4x4[]? matrices)
Parameters
CreateSkeletonMesh(IList<Bone>?, float)
public static BoneSkinnedMeshGeometry3D? CreateSkeletonMesh(IList<Bone>? bones, float scale = 1)
Parameters
Returns
HitTestWithSkinnedVertices(HitTestContext?, Vector3[], Matrix4x4, ref List<HitTestResult>, object?)
public virtual bool HitTestWithSkinnedVertices(HitTestContext? context, Vector3[] skinnedVertices, Matrix4x4 modelMatrix, ref List<HitTestResult> hits, object? originalSource)
Parameters
contextHitTestContextskinnedVerticesVector3[]modelMatrixMatrix4x4hitsList<HitTestResult>originalSourceobject