Classes
The following classes are available globally.
-
Meta renderer settings
See moreDeclaration
Swift
public class MetaSettings
-
Class for creating and presenting Metaverse experiences.
Follow the following steps to present a Metaverse experience using this framework.
- Retrieve your API key from https://studio.gometa.io/sdk/keys
- Use your API key to initialize Meta in your ApplicationDelegate by calling:
Meta.configure(withKey: "API_KEY")
inapplication(didFinishLaunchingWithOptions:)
- Create a
MetaExperience
object with the ID of the experience you want to load:var experience = MetaExperience(id: "EXPERIENCE_ID")
- (optional) Set the delegate of the experience if you want to be notified
when the experience is closed:
experience.delegate = self
- Present the experience:
Meta.shared.present(experience: experience)
Please report any errors, issues, or suggestions via Github issues.
See moreDeclaration
Swift
public class Meta