Vector3Hermite Method (Vector3, Vector3, Vector3, Vector3, Single, Vector3) |
[This is preliminary documentation and is subject to change.]
Performs a Hermite spline interpolation.
Namespace: VRageMathAssembly: VRage.Math (in VRage.Math.dll) Version: 1.0.0.0
Syntax public static void Hermite(
ref Vector3 value1,
ref Vector3 tangent1,
ref Vector3 value2,
ref Vector3 tangent2,
float amount,
out Vector3 result
)
Parameters
- value1
- Type: VRageMathVector3
Source position vector. - tangent1
- Type: VRageMathVector3
Source tangent vector. - value2
- Type: VRageMathVector3
Source position vector. - tangent2
- Type: VRageMathVector3
Source tangent vector. - amount
- Type: SystemSingle
Weighting factor. - result
- Type: VRageMathVector3
[OutAttribute] The result of the Hermite spline interpolation.
See Also