Vector4.CatmullRom Method (Microsoft.Xna.Framework)
Creates a new Vector4 that contains CatmullRom interpolation of the specified vectors.
- C#
- VB
- F#
public static Vector4 CatmullRom( Vector4 value1, Vector4 value2, Vector4 value3, Vector4 value4, float amount )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- value1
-
Type: Microsoft.Xna.Framework.Vector4
The first vector in interpolation.
- value2
-
Type: Microsoft.Xna.Framework.Vector4
The second vector in interpolation.
- value3
-
Type: Microsoft.Xna.Framework.Vector4
The third vector in interpolation.
- value4
-
Type: Microsoft.Xna.Framework.Vector4
The fourth vector in interpolation.
- amount
-
Type: System.Single
Weighting factor.
Return Value
Type: Microsoft.Xna.Framework.Vector4The result of CatmullRom interpolation.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web