Struct TcbParameters
- Namespace
- FluffyUnderware.Curvy
Represents a TCB parameter set for a spline segment. Used by TCB splines. TCB stands for Tension, Continuity, Bias. Tension controls the amount of curvature in the spline. Continuity controls the smoothness of the spline. Bias controls the direction of the curvature.
public struct TcbParameters
Properties
EndBias
Bias at the end of the spline segment.
public float EndBias { readonly get; set; }
Property Value
EndContinuity
Continuity at the end of the spline segment.
public float EndContinuity { readonly get; set; }
Property Value
EndTension
Tension at the end of the spline segment.
public float EndTension { readonly get; set; }
Property Value
StartBias
Bias at the start of the spline segment.
public float StartBias { readonly get; set; }
Property Value
StartContinuity
Continuity at the start of the spline segment.
public float StartContinuity { readonly get; set; }
Property Value
StartTension
Tension at the start of the spline segment.
public float StartTension { readonly get; set; }
Property Value
Methods
Equals(TcbParameters)
public bool Equals(TcbParameters other)
Parameters
otherTcbParameters
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(TcbParameters, TcbParameters)
public static bool operator ==(TcbParameters left, TcbParameters right)
Parameters
leftTcbParametersrightTcbParameters
Returns
operator !=(TcbParameters, TcbParameters)
public static bool operator !=(TcbParameters left, TcbParameters right)
Parameters
leftTcbParametersrightTcbParameters