Class Spline
Inheritance
System.Object
Spline
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
[Serializable]
public sealed class Spline
Constructors
Spline(AnimationCurve, Single, Boolean, Vector2)
Declaration
public Spline(AnimationCurve curve, float zeroValue, bool loop, Vector2 bounds)
Parameters
Type | Name | Description |
---|---|---|
AnimationCurve | curve | |
System.Single | zeroValue | |
System.Boolean | loop | |
Vector2 | bounds |
Fields
curve
Declaration
public AnimationCurve curve
Field Value
Type | Description |
---|---|
AnimationCurve |
k_Precision
Declaration
public const int k_Precision = 128
Field Value
Type | Description |
---|---|
System.Int32 |
k_Step
Declaration
public const float k_Step = 0.0078125F
Field Value
Type | Description |
---|---|
System.Single |
Methods
Cache(Int32)
Declaration
public void Cache(int frame)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | frame |
Evaluate(Single)
Declaration
public float Evaluate(float t)
Parameters
Type | Name | Description |
---|---|---|
System.Single | t |
Returns
Type | Description |
---|---|
System.Single |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()