ドキュメント

Unity Engine

Unity Engine

SetAnimationCurve

Sets the value of a named Animation Curve property.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

SetAnimationCurve(int, AnimationCurve)

Sets the value of a named Animation Curve property.
public void SetAnimationCurve(int nameID, AnimationCurve c)

Parameters

nameID

The ID of the property. This is the same ID that Shader.PropertyToID returns.

The new Animation Curve.

Remarks

Automatically changes overridden state for this property to true.

SetAnimationCurve(string, AnimationCurve)

Sets the value of a named Animation Curve property.
public void SetAnimationCurve(string name, AnimationCurve c)

Parameters

name

The name of the property.

The new Animation Curve.

Remarks

Automatically changes overridden state for this property to true.