Vector3.CatmullRom Method (Microsoft.Xna.Framework)

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

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public static void CatmullRom(
	Vector3 value1, 
	Vector3 value2, 
	Vector3 value3, 
	Vector3 value4, 
	float amount, 
	out Vector3 result
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

value1
Type: Microsoft.Xna.Framework.Vector3
The first vector in interpolation.
value2
Type: Microsoft.Xna.Framework.Vector3
The second vector in interpolation.
value3
Type: Microsoft.Xna.Framework.Vector3
The third vector in interpolation.
value4
Type: Microsoft.Xna.Framework.Vector3
The fourth vector in interpolation.
amount
Type: System.Single
Weighting factor.
result
Type: out Microsoft.Xna.Framework.Vector3
The result of CatmullRom interpolation as an output parameter.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web