Skip to main content

class XRPersistentAnchorSubsystemDescriptor

(Niantic.Lightship.AR.XRSubsystems.XRPersistentAnchorSubsystemDescriptor)

Overview​

Descriptor for the XRPersistentAnchorSubsystem.

	class XRPersistentAnchorSubsystemDescriptor: SubsystemDescriptorWithProvider< XRPersistentAnchorSubsystem, XRPersistentAnchorSubsystem.Provider > {
public:

struct Cinfo;

// properties

bool supportsTrackableAttachments;

// methods

static void Create(Cinfo cinfo);
};

Detailed Documentation​

Descriptor for the XRPersistentAnchorSubsystem.

Properties​

supportsTrackableAttachments​

bool supportsTrackableAttachments

true if the subsystem supports attachments (that is, the ability to attach an anchor to a trackable).

Methods​

Create​

static void Create(Cinfo cinfo)

Creates a new subsystem descriptor and registers it with the SubsystemManager.

    Parameters:

    cinfo - Constructor info describing the descriptor to create.