Struct SelectableKnot
Implements the ISelectable
Inherited Members
Namespace: UnityEditor .Splines
Assembly: solution.dll
Syntax
public struct SelectableKnot : ISelectableElement, IEquatable<ISelectableElement>, IEquatable<SelectableKnot>
Constructors
Name | Description |
---|---|
Selectable |
Creates a Selectable |
Properties
Name | Description |
---|---|
Knot |
The index of the knot in the spline. If the spline element is a tangent, this is the index of the knot that the tangent is attached to. |
Local |
The position of the spline element in local space. |
Local |
The rotation of the spline element in local space. |
Mode | The Tangent |
Position | The position of the spline element in world space. |
Rotation | The rotation of the spline element in world space. |
Spline |
The Spline |
Tangent |
The In tangent associated with the knot. The In tangent defines the curvature of the segment that enters the knot. |
Tangent |
The Out tangent associated with the knot. The Out tangent defines the curvature of the segment that exits the knot. |
Tension | The tension associated with a knot. |
Methods
Name | Description |
---|---|
Equals(object) | Checks if two instances of an object are equal. |
Equals(ISelectable |
Checks if two instances of |
Equals(Selectable |
Checks if two instances of SelectableKnot are equal. |
Get |
Creates the BezierKnot representation associated with a SelectableKnot. |
Get |
Gets a hash code for this knot. |
Is |
Checks if the element is valid. For example, checks if the spline is not null and the index is valid. |
Set |
Sets the tangent mode of the knot. |