Meta Space Meta Data

MetaSpaceMetadata Documentation

The MetaSpaceMetadata class contains metadata for a Meta Space. This metadata is used to describe the Meta Space and to control its behavior.

Namespace

MetaverseCloudEngine.Unity.Assets.MetaSpaces

Public Properties

  • XrSupportOption VRSupport: Specifies the level of VR support for the Meta Space.

  • bool ARRequired: Whether AR support is required for the Meta Space.

  • bool CryptoRelated (read only): Whether the Meta Space is related to cryptocurrency or NFTs.

  • IEnumerable LoadOnStartPrefabs: The list of prefabs to be loaded when the Meta Space starts.

  • MetaSpaceJoinBehaviour JoinBehavior: The behavior when joining the Meta Space.

  • MetaSpaceJoinRequirements JoinRequirements: The requirements for joining the Meta Space.

  • SystemUserTrackingDetails RequiredTrackingDetails: Tracking details that are required from the user in order to even join the space.

  • bool AllowConcurrentLogins: Whether users can join this space even if they're already in another space at the same time.

  • MetaSpaceTags Tags: Specifies the tags for the Meta Space.

Inspector Fields

  • SystemUserTrackingDetails requiredTrackingDetails: Tracking details that are required from the user in order to even join the space.

  • MetaSpaceJoinBehaviour joinBehavior: Specifies the behavior when joining the Meta Space.

  • MetaSpaceJoinRequirements joinRequirements: Specifies the requirements for joining the Meta Space.

  • bool allowConcurrentLogins: If true, users can join this space even if they're already in another space at the same time.

  • List loadOnStartPrefabs: List of prefabs to be loaded when the Meta Space starts.

  • XrSupportOption vrSupport: Specifies the level of VR support for the Meta Space.

  • bool arRequired: Specifies whether AR support is required for the Meta Space.

  • MetaSpaceTags tags: Specifies the tags for the Meta Space.

Usage

The MetaSpaceMetadata class is used by the MetaSpace component to store metadata about the Meta Space. This metadata can be configured in the Unity inspector.

Example:

You can use the MetaSpaceMetadata class to specify that VR support is required for your Meta Space. To do this:

  1. Add the MetaSpace component to a GameObject in your scene.

  2. In the inspector, expand the Meta Data foldout.

  3. Set the VR Support property to Required.

This will ensure that users can only join your Meta Space if they have a VR headset connected.

Last updated