SetAnimationCurve
Sets the value of a named Animation Curve property.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
SetAnimationCurve(int, AnimationCurve)
Sets the value of a named Animation Curve property.
public void SetAnimationCurve(int nameID, AnimationCurve c)
Parameters
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
Remarks
Automatically changes overridden state for this property to true.