SIQuaternion.Copy
 
 
 

SIQuaternion.Copy

Description

Copies the source quaternion srcQuat into this one.

C# Syntax

SIQuaternion.Copy( SIQuaternion in_pSrcQuat );

Scripting Syntax

SIQuaternion.Copy( srcQuat );

Parameters

Parameter Type Description
srcQuat SIQuaternion Source quaternion

Examples

VBScript Example

dim q1, q2
' Create Quaternions.
set q1 = XSIMath.CreateQuaternion(1.0, 0.0, 0.0, 0.0)
set q2 = XSIMath.CreateQuaternion
q2.Copy q1

See Also

SIQuaternion.Set SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion