The location service provides access to the current location. The stage entity provides information about the location represented by the current reality viewer. The physical-stage entity provides information about the user's current physical location. Either entity must be subscribed to via ContextService.subscribe, before their pose relative to the FIXED frame can be retrieved.
stage:Entity= this.contextService.entities.add(new Entity({id: STAGE_ENTITY_ID,name: 'Stage',position: new ConstantPositionProperty(Cartesian3.ZERO, this.physicalStage),orientation: new ConstantProperty(Quaternion.IDENTITY)}))
An entity representing the floor plane, defining an East-North-Up coordinate system. This entity must be subscribed to in order to receive pose updates relative to the FIXED frame.
Optional stageCartographic
stageCartographic:Cartographic
Accessors
physicalStageHorizontalAccuracy
get physicalStageHorizontalAccuracy():number|undefined
Returns number|undefined
physicalStageVerticalAccuracy
get physicalStageVerticalAccuracy():number|undefined
The location service provides access to the current location. The stage entity provides information about the location represented by the current reality viewer. The physical-stage entity provides information about the user's current physical location. Either entity must be subscribed to via ContextService.subscribe, before their pose relative to the FIXED frame can be retrieved.