MetaExperience

public struct MetaExperience

Struct representing an experience to load. This struct is passed to Meta.shared.present(experience:) to present an experience.

  • The MetaExperienceDelegate that receives experience events

    Declaration

    Swift

    public weak var delegate: MetaExperienceDelegate?
  • Initialize a new experience to load by its ID. The experience ID is a uuid that can be found when viewing an experience in Metaverse Studio (e.g., for an experience with the URL https://studio.gometa.io/discover/me/cff4fbc6-f489-4781-a1db-03e37069b206, cff4fbc6-f489-4781-a1db-03e37069b206 is the experience ID.

    Note that, at this time, you CAN NOT use experience short URLs (https://mtvrs.io/TriangularFlippantHorse) to load experiences.

    Declaration

    Swift

    public init(id: String)

    Parameters

    id

    The ID of the experience to load