Click or drag to resize

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

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

Namespace: CFX.Structures.Geometry
Assembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntax
public static Vector2 CatmullRom(
	Vector2 value1,
	Vector2 value2,
	Vector2 value3,
	Vector2 value4,
	double amount
)

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.

Return Value

Vector2
The result of CatmullRom interpolation.
See Also