@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / createXRMultiplayerComponent
Function: createXRMultiplayerComponent() ​
ts
function createXRMultiplayerComponent(
world,
entityId, ...
args): XRMultiplayerComponent;Defined in: factories/components/NetworkFactory.ts:46
Parameters ​
| Parameter | Type |
|---|---|
world | World |
entityId | number |
...args | [Partial<Pick<XRMultiplayerComponent, | "sendRate" | "interpolationMs" | "avatarStyle" | "headPrefab" | "leftHandPrefab" | "rightHandPrefab" | "shareHandJoints" | "nameTags" | "colocation" | "calibrateOnStart" | "minPointDistance">>] |

