Version: 2022.1
言語: 日本語
public AnimationCurve GetAnimationCurve (int nameID);
public AnimationCurve GetAnimationCurve (string name);

パラメーター

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
name プロパティーの名前

戻り値

AnimationCurve The value for the Animation Curve you specify. Returns an empty Animation Curve if VisualEffect.HasAnimationCurve returns false.

説明

Gets the value of a named Animation Curve property.