UxrSpline.EvaluateUsingArcLength Method (Single, Vector3, Vector3)

Evaluates the curve using arc-length parametrization

Namespace: UltimateXR.Animation.Splines
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public bool EvaluateUsingArcLength(
	float distance,
	out Vector3 position,
	out Vector3 direction
)

Parameters

 

distance
Type: System.Single
Distance parameter [0.0f, ArcLength]
position
Type: Vector3
Interpolated point
direction
Type: Vector3
Interpolated point direction vector

Return Value

Type: Boolean
Success or failure

See Also

Reference

UxrSpline Class
EvaluateUsingArcLength Overload
UltimateXR.Animation.Splines Namespace