Skip to main content

Interface: FreeItemPlacement

The target position in scene units and optional absolute heading in degrees around Y. Omitting the heading preserves the current orientation.

Example​

await window.mimeeqApp.actions.placeFreeItem(itemId, { position: { x: 1, y: 0, z: 2 } });

Properties​

position​

position: object

The item's target coordinates in scene units.

x​

x: number

y​

y: number

z​

z: number

Example​

await window.mimeeqApp.actions.placeFreeItem(itemId, { position: { x: 1, y: 0, z: 2 } });

rotation?​

optional rotation?: number

The item's absolute heading in degrees around Y.

Example​

await window.mimeeqApp.actions.placeFreeItem(itemId, { position: { x: 1, y: 0, z: 2 }, rotation: 90 });