Skip to main content

Type Alias: ProjectionPoint

ProjectionPoint = Vector3

A point in scene units (Y up), as used by getMeshPosition and getScreenPosition.

Example​

const point: ProjectionPoint = { x: 0, y: 0.5, z: 0 };
const [screen] = (await window.mimeeqApp.actions.getScreenPosition([point])) ?? [];