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

SpriteDataAccessExtensions.GetBindPoses

Cambiar al Manual
public static NativeArray<Matrix4x4> GetBindPoses (Sprite sprite);

Parámetros

spriteThe sprite to retrieve the bind pose from.

Valor de retorno

NativeArray<Matrix4x4> A list of bind poses for this sprite. There is no need to dispose the returned NativeArray.

Descripción

Returns an array of BindPoses.

Use this to animate the Sprite at runtime. Or write to it during bind pose editing.