Morpheus Platform
  • πŸ–οΈIntroduction
    • Ⓜ️About Morpheus
    • πŸ“ƒMetaverse and Web3
    • ℒ️White-label Solutions
    • πŸ”¬Platform Architecture
    • πŸ“¬Contact Us
  • πŸ—„οΈMetaverse Backend
    • 🌟Key Concepts
    • βš™οΈMetaverse Backend API
  • 🌐Web Portal
    • ⭐Key Concepts
    • πŸ”Roles and Access
    • πŸ‘·Admin Features
    • 🎨Portal Customisation
  • 😎In-app Experience
    • ⬇️Download the Apps
    • ⭐Key Concepts
    • πŸ“UX Design Paradigm
      • Part I: Virtual Reality
      • Part II: VR UX Paradigm
      • Part III: UX Design Guidelines
    • πŸ‘οΈHUD UI Framework
  • πŸ“¦Platform Modules
    • ⭐Key Concepts
    • πŸ“„Module Manifests
      • βš’οΈArtifact Manifest
      • 🌎World Manifest
      • πŸ™Avatar Manifest
    • πŸ“”Module Registry
    • 🧰Using Modules
      • πŸ“¦Modules in Places
      • πŸŽ›οΈModule Configuration
    • πŸ“¦Built-in Modules
      • 🎀Voice Module
      • πŸ–ΌοΈMedia Module
      • 🎨Decorator Module
      • 😁Social Module
      • πŸ‘¨β€πŸ’ΌWorkshop Module
      • ⛩️Portals Module
    • πŸ€–External Integrations
      • πŸ“ƒMorpheus AI Primer
      • πŸŽ₯Behavior Framework
        • πŸ“¨Messages
        • 🎬Behaviors
        • πŸ“Behavior Scripts
  • 🎨For Content Creators
    • πŸ”‘Getting Access
    • 🌏Creating Worlds
    • 🏺Creating Artifacts
    • πŸ“Content Template
    • πŸ‘Best Practices
    • πŸ§‘β€πŸ”§Contact Support
  • 🚒Release History
    • πŸ›ΆRelease 5 vs. Release 6
  • πŸ“”Glossary
Powered by GitBook
On this page
  • Module Manifest vs. Module Configuration
  • Examples of Configs
  1. Platform Modules
  2. Using Modules

Module Configuration

To use a Module from the Model Registry, admins must specify which components of the module they need; they can also tweak exposed properties of modules.

Module Manifest vs. Module Configuration

Module Configuration is an override over a particular Manifest that only contains part of the Manifest that are relevant for a particular use case.

Let’s take a look on the Car Module: it contains two artifacts, a name and a preview:

assetId: asset.morpheusxr.car
name: Car
meta:
  preview: https://storage.googleapis.com/xmorpheus-public-assets/artifacts/previews/v2/car.png
contents:
  - artifact:
      id: car.ford
      data: data.uZ_dpln_mTUK3IGmeb46H.JOmjpVD5l-eEYrzAkvAUQ
  - artifact:
      id: car.bmw
      data: data.onveouruohpfpp9gfwpwi.orvouqv90ar9e0pf97vgr

Now, we want our users to be able to spawn Ford cars; also they should see them as β€˜Guest Car’ in their spawn menu. For this, we need a Config, which is in the same format, but significantly shorter.

assetId: asset.morpheusxr.car
name: Guest Car
contents:
  - artifact:
      id: car.ford

assetId in the Module Config points to the Manifest this Config intends to override, other Manifest properties, if present, override the corresponding properties of the Manifest.

contents part of the config declares which items will be used when the Config is taken into action (for example, when an artifact is spawn). Only those items that are mentioned explicitly will be used. Properties of sub-manifests can also be overriden in the same way. In the example above, they are not.

Examples of Configs

Trivial configuration: no overrides, just use the module

assetId: asset.morpheusxr.car

Use the cars module, but replace the 3D asset

END

PreviousModules in PlacesNextBuilt-in Modules

Last updated 1 year ago

Once created, Module Configs should be uploaded to a Content Folder of a particular Place. More details on this in the section.

πŸ“¦
🧰
πŸŽ›οΈ
Modules in Places