## SIRotation.Copy

### Description

Copies the source rotation r to this rotation.

### C# Syntax

    SIRotation.Copy( SIRotation in_pSrcRot );

### Scripting Syntax

    SIRotation.Copy( r );

### Parameters

Parameter | Type | Description
--- | --- | ---
r | SIRotation | Source rotation

### Examples

#### VBScript Example

    dim r1, r2
    ' Create rotations.
    set r1 = XSIMath.CreateRotation
    set r2 = XSIMath.CreateRotation
    'Do something with rotation r1
    r1.Copy r2

### See Also

SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion