Version: 2022.2

Mesh.GetBindposes

切换到手册
public NativeArray<Matrix4x4> GetBindposes ();

返回

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

描述

获取网格的绑定姿势。

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


public void GetBindposes (List<Matrix4x4> bindposes);

参数

bindposes 要填充的绑定姿势的列表。

描述

获取网格的绑定姿势。

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

如果要控制传入的列表的生命周期并且需要避免在每次访问时都分配新数组,请使用此方法而不是 bindposes