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 | Numeric value for the distance | |
distanceUnit | Unit for distance | |
origin [ Optional ] | Numeric value and unit for the x and y position |
Available from 1.8 |