Translate

[ Interface ]

export interface Translate {
    transformType: 'Translate';
    x?: number;
    xUnit?: TcHmi.DimensionUnit;
    y?: number;
    yUnit?: TcHmi.DimensionUnit;
    z?: number;
    zUnit?: TcHmi.DimensionUnit;
}

This interface implements the TcHmi.Transform interface.

Properties

Name

Type

Description

transformType

'Translate'

Keyword

x [ optional ]

number

Numeric value of the x translation

xUnit [ optional ]

TcHmi.DimensionUnit

Unit of the x translation

y [ optional ]

number

Numeric value of the y translation

yUnit [ optional ]

TcHmi.DimensionUnit

Unit of the y translation

z [ optional ]

number

Numeric value of the z translation

zUnit [ optional ]

TcHmi.DimensionUnit

Unit of the z translation

Translate 1:

Available from 1.8