Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetBindposes

Gets the bind poses of the Mesh.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

GetBindposes()

Gets the bind poses of the Mesh.
public NativeArray<Matrix4x4> GetBindposes()

Returns

Type

Description

NativeArray<Matrix4x4>The array of bind poses belonging to the Mesh.

Remarks

The bind pose at each index corresponds to the bone with the same index. Additional Resources: SkinnedMeshRenderer.bones.

GetBindposes(List<Matrix4x4>)

Gets the bind poses of the Mesh.
public void GetBindposes(List<Matrix4x4> bindposes)

Parameters

A list of bind poses to populate.

Remarks

The bind pose at each index corresponds to the bone with the same index. Additional Resources: SkinnedMeshRenderer.bones.
Use this method instead of Mesh.bindposes if you control the life cycle of the list passed in and you want to avoid allocating a new array with every access.