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