SetAnimationCurve
Sets the value of a named Animation Curve property.
Read time 1 minuteLast updated 10 days ago
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.