Click or drag to resize

Vector2CatmullRom(Vector2, Vector2, Vector2, Vector2, Double, Vector2) Method

Creates a new Vector2 that contains CatmullRom interpolation of the specified vectors.

Namespace: CFX.Structures.Geometry
Assembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntax
public static void CatmullRom(
	ref Vector2 value1,
	ref Vector2 value2,
	ref Vector2 value3,
	ref Vector2 value4,
	double amount,
	out Vector2 result
)

Parameters

value1  Vector2
The first vector in interpolation.
value2  Vector2
The second vector in interpolation.
value3  Vector2
The third vector in interpolation.
value4  Vector2
The fourth vector in interpolation.
amount  Double
Weighting factor.
result  Vector2
The result of CatmullRom interpolation as an output parameter.
See Also