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

SpriteDataAccessExtensions.SetBoneWeights

マニュアルに切り替える
public static void SetBoneWeights (Sprite sprite, NativeArray<BoneWeight> src);

パラメーター

srcThe list of BoneWeight for this Sprite. The array must be disposed of by the caller.

説明

Sets the BoneWeight for this Sprite. The length of the input array must match the number of vertices.

This is usually called as part of the Sprite's post process to imbue it with bind pose data.