class SharedSpaceManager
(Niantic.Lightship.SharedAR.Colocalization.SharedSpaceManager)
Overview
The SharedSpaceManager manages to set up necessary components for colocalization. The SharedSpaceManager hides complexity in setting up colocalization related object hierarchy and networking room associated to the tracking target.
class SharedSpaceManager: MonoBehaviour {
public:
enumColocalizationType;
struct SharedSpaceManagerStateChangeEventArgs;
// properties
GameObject SharedArOriginObject;
ISharedSpaceTrackingOptions SharedSpaceTrackingOptions;
ISharedSpaceRoomOptions SharedSpaceRoomOptions;
// events
event sharedSpaceManagerStateChanged();
// methods
ColocalizationType GetColocalizationType();
void StartSharedSpace(
ISharedSpaceTrackingOptions trackingOptions,
ISharedSpaceRoomOptions roomOptions
);
};
Detailed Documentation
The SharedSpaceManager manages to set up necessary components for colocalization. The SharedSpaceManager hides complexity in setting up colocalization related object hierarchy and networking room associated to the tracking target.
Properties
SharedArOriginObject
GameObject SharedArOriginObject
Reference to the GameObject representing shared origin/root
SharedSpaceTrackingOptions
ISharedSpaceTrackingOptions SharedSpaceTrackingOptions
Getting currently active ISharedSpaceTrackingOptions set in the SharedSpaceManager