Documentation

Unity Engine

Download Unity

Unity Engine

SetLocalToParentScale(int, in float3)

Sets the local to parent scale of the bone at the specified index.
Read time 1 minuteLast updated 4 hours ago

Definition

SetLocalToParentScale(int, float3)

public void SetLocalToParentScale(int index, in float3 scale)

Parameters

index

The index of the scale channel. The first Skeleton.BoneCount scale channels are the bones, in the order of Skeleton.Ids.

scale

The local to parent scale to store for the bone.

Remarks

The index must be at least 0 and less than AnimationStream.ScaleCount.