/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ /*** THIS FILE IS GENERATED, DO NOT EDIT ***/ import { MatterDefinition } from "../MatterDefinition.js"; import { DatatypeElement as Datatype, FieldElement as Field } from "../../elements/index.js"; export const ViewportStruct = Datatype( { name: "ViewportStruct", type: "struct" }, Field({ name: "X1", id: 0x0, type: "uint16", conformance: "M" }), Field({ name: "Y1", id: 0x1, type: "uint16", conformance: "M" }), Field({ name: "X2", id: 0x2, type: "uint16", conformance: "M" }), Field({ name: "Y2", id: 0x3, type: "uint16", conformance: "M" }) ); MatterDefinition.children.push(ViewportStruct);