CurveSampler.CreateHermiteTangentWeights

CurveSampler.CreateHermiteTangentWeights method

Calculates the Hermite tangent weights for a given amount

public static (float StartPosition, float EndPosition, float StartTangent, float EndTangent) 
    CreateHermiteTangentWeights(float amount)
ParameterTypeDescription
amountSingleThe input amount (must be between 0 and 1)

Return Value

The output weights. - StartPosition: Weight for Start point - EndPosition: Weight for End point - StartTangent: Weight for Start Outgoing Tangent - EndTangent: Weight for End Incoming Tangent

See Also