HasAnimationCurve
Checks if the Visual Effect can override an Animation Curve with the name you pass in.
読み終わるまでの所要時間 1 分最終更新 23日前
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
HasAnimationCurve(int)
Checks if the Visual Effect can override an Animation Curve with the name you pass in.
public bool HasAnimationCurve(int nameID)
Parameters
The ID of the property. This is the same ID that Shader.PropertyToID returns.
Returns
Type | Description |
|---|---|
| bool | True if the Visual Effect can override an Animation Curve with that name. Otherwise, false. |
HasAnimationCurve(string)
Checks if the Visual Effect can override an Animation Curve with the name you pass in.
public bool HasAnimationCurve(string name)
Parameters
The name of the property.
Returns
Type | Description |
|---|---|
| bool | True if the Visual Effect can override an Animation Curve with that name. Otherwise, false. |