landscapeinverted
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
("landscapeinverted", (Z.Orientation) => void): this;
Emitted when the device is in an inverted landscape orientation, 180 degrees from landscape.
Returns
Section titled “Returns”this
Handler Function
Section titled “Handler Function”When the landscapeinverted
event is fired, attached handler functions are called with a single argument, a Z.Orientation value.
Example
Section titled “Example”symbol.nodes.accelerometer.on("landscapeinverted", () => { // Runs when landscapeinverted occurs on the accelerometer node
});