Interface: PlacedSnapTarget
Identifies a snap on a placed item by instance ID and snap mesh ID. Use a target from the placement controls when inserting. The authored snap code is a separate field.
Example
const placement = window.mimeeqApp.observers.modular.snapPlacementControls.getValue();
const target = placement?.controls[0]?.target;
if (target) console.log(target.instanceId, target.snapId);
Properties
instanceId
instanceId:
string
snapId
snapId:
string