MeshExt.GetSkinnedWorldVertex Method
Gets a skinned vertex in world coordinates.
Namespace: UltimateXR.Extensions.Unity.Render
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static Vector3 GetSkinnedWorldVertex(
SkinnedMeshRenderer skin,
BoneWeight boneWeight,
Vector3 vertex,
Transform[] bones,
Matrix4x4[] boneBindPoses
)
Parameters
- skin
- Type: SkinnedMeshRenderer
Skin - boneWeight
- Type: BoneWeight
Vertex bone weights info - vertex
- Type: Vector3
Vertex in local skin coordinates when the skin is in the bind pose - bones
- Type: Transform[]
Bone list - boneBindPoses
- Type: Matrix4x4[]
Bone bind poses
Return Value
Type: Vector3
Vertex in world coordinates