Quaternion.Multiply Method (Microsoft.Xna.Framework)

Multiplies the components of quaternion by a scalar.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public static Quaternion Multiply(
	Quaternion quaternion1, 
	float scaleFactor

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: Microsoft.Xna.Framework.Quaternion
Source Vector3 on the left of the mul sign.
Type: System.Single
Scalar value on the right of the mul sign.

Return Value

Type: Microsoft.Xna.Framework.Quaternion
Result of the quaternion multiplication with a scalar.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop