Experimental: this API is experimental and might be changed or removed in the future.

SpriteDataAccessExtensions.GetBindPoses

Switch to Manual
public static NativeArray<Matrix4x4> GetBindPoses (Sprite sprite);

Parameters

sprite要从中检索绑定姿势的精灵。

Returns

NativeArray<Matrix4x4> 此精灵的绑定姿势列表。无需处置返回的 NativeArray。

Description

返回 BindPose 数组。

使用该方法可在运行时为精灵添加动画效果。或者,在编辑绑定姿势时将其写入。