Meta Prefab Meta Data

MetaPrefabMetadata Documentation

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

Namespace

MetaverseCloudEngine.Unity.Assets.MetaPrefabs

Public Properties

  • ObjectLoadRange loadRange: Defines the distance from the camera at which the Meta Prefab should be loaded and unloaded. This property is only relevant for non-avatar Meta Prefabs.

  • bool isAvatar: Indicates whether the Meta Prefab is an avatar. Avatar Meta Prefabs are not subject to LOD (level of detail) management.

  • bool isBuildable: Indicates whether the Meta Prefab can be placed in the world using the land plot builder.

  • PrefabBuilderCategory builderCategories: Specifies the categories that the Meta Prefab belongs to in the land plot builder. This property is only relevant for buildable Meta Prefabs.

Usage

The MetaPrefabMetadata class is used by the MetaPrefab component to store metadata about a Meta Prefab. This metadata is used to control the behavior of the Meta Prefab, such as its LOD management and its availability in the land plot builder.

Last updated