VFXExpressionValues
This class is a wrapper to the set of expression values.
Read time 2 minutesLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
public class VFXExpressionValues
Remarks
Only used with VFXSpawnerState.
Methods
Method | Description |
|---|---|
| GetAnimationCurve | Returns a an animation curve that corresponds to the bound named expression. If this entry is not available, or the type doesn't match, an exception is thrown. |
| GetBool | Returns a boolean that corresponds to the bound named expression. If this entry is not available, or the type doesn't match, an exception is thrown. |
| GetFloat | Returns a float that corresponds to the bound named expression. If this entry is not available, or the type doesn't match, an exception is thrown. |
| GetGradient | Returns a gradient that corresponds to the bound named expression. If this entry is not available, or the type doesn't match, an exception is thrown. |
| GetInt | Returns an integer that corresponds to the bound named expression. IF this entry is not available, or the type doesn't match, an exception is thrown. |
| GetMatrix4x4 | Returns a Matrix4 that corresponds to the bound named expression. If this entry is not available, or the type doesn't match, an exception is thrown. |
| GetMesh | Returns a mesh that corresponds to the bound named expression. If this entry is not available, or the type doesn't match, an exception is thrown. |
| GetTexture | Returns a texture that corresponds to the bound named expression. If this entry is not available, or the type doesn't match, an exception is thrown. |
| GetUInt | Returns an unsigned integer that corresponds to the bound named expression. If this entry is not available, or the type doesn't match, an exception is thrown. |
| GetVector2 | Returns a Vector2 that corresponds to the bound named expression. If this entry is not available, or the type doesn't match, an exception is thrown. |
| GetVector3 | Returns a Vector3 that corresponds to the bound named expression. If this entry is not available, or the type doesn't match, an exception is thrown. |
| GetVector4 | Returns a Vector4 that corresponds to the bound named expression. If this entry is not available, or the type doesn't match, an exception is thrown. |