Vector4CatmullRom(Vector4, Vector4, Vector4, Vector4, Double) Method |
Creates a new
Vector4 that contains CatmullRom interpolation of the specified vectors.
Namespace: CFX.Structures.GeometryAssembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntaxpublic static Vector4 CatmullRom(
Vector4 value1,
Vector4 value2,
Vector4 value3,
Vector4 value4,
double amount
)
Public Shared Function CatmullRom (
value1 As Vector4,
value2 As Vector4,
value3 As Vector4,
value4 As Vector4,
amount As Double
) As Vector4
Parameters
- value1 Vector4
- The first vector in interpolation.
- value2 Vector4
- The second vector in interpolation.
- value3 Vector4
- The third vector in interpolation.
- value4 Vector4
- The fourth vector in interpolation.
- amount Double
- Weighting factor.
Return Value
Vector4The result of CatmullRom interpolation.
See Also