Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / components / createAttachPoint

Function: createAttachPoint() ​

ts
function createAttachPoint(partial): XrAttachPoint;

Defined in: components/XRInteractable.ts:206

An attach point with every field populated, for the editor and AI tools.

Parameters ​

ParameterType
partialPartial<XrAttachPoint> & { id: string; }

Returns ​

XrAttachPoint