Struct SplineKnotIndex
Provides a tuple to define a couple (Spline index, Knot index) that identifies a particular knot on a spline.
This tuple is used by Knot
Implements
Inherited Members
Namespace: UnityEngine .Splines
Assembly: solution.dll
Syntax
[Serializable]
public struct SplineKnotIndex : IEquatable<SplineKnotIndex>
Constructors
Name | Description |
---|---|
Spline |
Creates a new SplineKnotIndex to reference a knot. |
Fields
Name | Description |
---|---|
Invalid | Represents the default value for an invalid index. |
Knot | The index of the knot in the spline. |
Spline | The index of the spline in the Splines. |
Methods
Name | Description |
---|---|
Equals(object) | Checks if two indices are equal. |
Equals(Spline |
Checks if two indices are equal. |
Get |
Gets a hash code for this SplineKnotIndex. |
Is |
Checks if an index is greater than or equal to 0. |
To |
Gets a string representation of a SplineKnotIndex. |
Operators
Name | Description |
---|---|
operator ==(Spline |
Checks if two indices are equal. |
operator !=(Spline |
Checks if two indices are not equal. |