Rotate

[ Interface ]

export interface Rotate {
    transformType: 'Rotate';
    angle: number;
    angleUnit?: TcHmi.AngleUnit;
    vector?: {
        x: number;
        y: number;
        z: number;
    };
}

This interface implements the TcHmi.Transform interface.

Properties

Name

Type

Description

transformType

'Rotate'

Keyword

angle

number

Numeric value of the rotation

angleUnit [ optional ]

Tchmi.AngleUnit

Unit of the rotation

vector [ optional ]

{x, y, z}

Defines a rotation in three-dimensional space