Class Vector3Parameter
A VolumeParameter that holds a Vector3
value.
Inherited Members
Namespace: UnityEngine.Rendering
Syntax
[Serializable]
public class Vector3Parameter : VolumeParameter<Vector3>, IEquatable<VolumeParameter<Vector3>>
Constructors
Vector3Parameter(Vector3, Boolean)
Creates a new Vector3Parameter instance.
Declaration
public Vector3Parameter(Vector3 value, bool overrideState = false)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | value | The initial value to store in the parameter. |
Boolean | overrideState | The initial override state for the parameter. |
Methods
Interp(Vector3, Vector3, Single)
Interpolates between two Vector3
values.
Declaration
public override void Interp(Vector3 from, Vector3 to, float t)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | from | The start value. |
Vector3 | to | The end value. |
Single | t | The interpolation factor in range [0,1]. |
Overrides
UnityEngine.Rendering.VolumeParameter<UnityEngine.Vector3>.Interp(UnityEngine.Vector3, UnityEngine.Vector3, System.Single)