Custom elements
Element definitions
Read, check and write the definition of a custom element.
Last modified on October 6, 2026
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Read, check and write the definition of a custom element.
import {
parseOpenElementDefinition,
validateOpenElementDefinition,
serializeOpenElementDefinition,
buildControlSchema,
createPlacementMatrix,
} from '@opengeometry/floorkit';
function parseOpenElementDefinition(buffer: string): OpenElementDefinition;
function validateOpenElementDefinition(definition: unknown): OpenElementDefinition;
function serializeOpenElementDefinition(definition: unknown): string;
function buildControlSchema(definition: OpenElementDefinition): ControlSchema;
function createPlacementMatrix(placement?: Placement): THREE.Matrix4;