Class Vector3Parameter
A VolumeParameter that holds a Vector3
value.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public class Vector3Parameter : VolumeParameter<Vector3>, ICloneable, IEquatable<VolumeParameter<Vector3>>
Constructors
Vector3Parameter(Vector3, bool)
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. |
bool | overrideState | The initial override state for the parameter. |
See Also
Methods
Interp(Vector3, Vector3, float)
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. |
float | t | The interpolation factor in range [0,1]. |