Click or drag to resize
Vector3CatmullRom Method (Vector3, Vector3, Vector3, Vector3, Single, Vector3)

[This is preliminary documentation and is subject to change.]

Performs a Catmull-Rom interpolation using the specified positions.

Namespace: VRageMath
Assembly: VRage.Math (in VRage.Math.dll) Version: 1.0.0.0
Syntax
C#
public static void CatmullRom(
	ref Vector3 value1,
	ref Vector3 value2,
	ref Vector3 value3,
	ref Vector3 value4,
	float amount,
	out Vector3 result
)

Parameters

value1
Type: VRageMathVector3
The first position in the interpolation.
value2
Type: VRageMathVector3
The second position in the interpolation.
value3
Type: VRageMathVector3
The third position in the interpolation.
value4
Type: VRageMathVector3
The fourth position in the interpolation.
amount
Type: SystemSingle
Weighting factor.
result
Type: VRageMathVector3
[OutAttribute] A vector that is the result of the Catmull-Rom interpolation.
See Also