Perspective

[ Interface ]

export interface Perspective {
    transformType: 'Perspective';
    distance: number;
    distanceUnit?: TcHmi.DimensionUnit;
    origin?: {
        x?: number;
        xUnit?: TcHmi.DimensionUnit;
        y?: number;
        yUnit?: TcHmi.DimensionUnit;
    };
}

This interface implements the TcHmi.Transform interface.

Properties

Name

Type

Description

transformType

'Perspective'

Keyword

distance

number

Numeric value for the distance

distanceUnit

TcHmi.DimensionUnit

Unit for distance

origin [ Optional ]

{x, xUnit, y, yUnit}

Numeric value and unit for the x and y position

Perspective 1:

Available from 1.8