Version: 2019.4
public AnimationCurve GetAnimationCurve (int nameID);
public AnimationCurve GetAnimationCurve (string name);

パラメーター

nameIDThe 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


Did you find this page useful? Please give it a rating: