Bagikan melalui


Quaternion.op_Multiply Method (Quaternion, Single)

Multiplies a quaternion by a scalar value.

Syntax

'Declaration
Public Shared Function op_Multiply ( _
         quaternion1 As Quaternion, _
         scaleFactor As Single _
) As Quaternion 
public static Quaternion op_Multiply (
         Quaternion quaternion1,
         float scaleFactor
)
public:
static Quaternion op_Multiply(
         Quaternion quaternion1,
         float scaleFactor
)

Parameters

  • quaternion1
    Type: Quaternion
    Source quaternion.
  • scaleFactor
    Type: Single
    Scalar value.

Return Value

Type: Quaternion
The result of the multiplication.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone