Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / ColocationStatus

Type Alias: ColocationStatus ​

ts
type ColocationStatus = {
  state: ColocationState;
  message: string;
  calibrated: boolean;
  applied: boolean;
  attempts: number;
  distance: number | null;
  error:   | {
     position: number;
     headingDegrees: number;
   }
     | null;
  peers: PeerCalibration[];
};

Defined in: network/types.ts:84

Properties ​

PropertyTypeDescriptionDefined in
stateColocationState-network/types.ts:85
messagestringOne line for the player: what to do now, or how it went.network/types.ts:87
calibratedboolean-network/types.ts:88
appliedbooleanIn use in the headset, not only worked out.network/types.ts:90
attemptsnumberHow many times the same points were touched and averaged.network/types.ts:92
distancenumber | nullHow far apart this player measured the two points, in metres.network/types.ts:94
error| { position: number; headingDegrees: number; } | null-network/types.ts:95
peersPeerCalibration[]-network/types.ts:96