### Getting Started with Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/get-started/create-your-first-world-continued A guide for beginners on how to get started with the Meta Horizon Desktop Editor. Covers installation, basic navigation, and scene setup. ```desktop editor Getting Started Meta Horizon Desktop Editor ``` -------------------------------- ### Getting Started Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/desktop-editor/generative-ai-creation-tools A guide for beginners on how to get started with the Meta Horizon Desktop Editor. Covers initial setup and basic functionalities. ```javascript // Basic setup and navigation guide for the Desktop Editor. ``` -------------------------------- ### Getting Started Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/performance-best-practices-and-tooling/performance-best-practices/cpu-and-typescript-optimization-best-practices Instructions or a guide on how to get started with the Meta Horizon Desktop Editor. This likely covers installation, basic interface, and initial project setup. ```plaintext # Getting Started with Meta Horizon Desktop Editor: # 1. Download and install the editor from the official source. # 2. Launch the editor and familiarize yourself with the main interface: # - Scene view # - Asset browser # - Inspector panel # - Scripting editor # 3. Create a new project or open an existing one. # 4. Learn how to navigate the scene and manipulate objects. # 5. Understand the basics of adding and configuring components. ``` -------------------------------- ### Getting Started Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/save-optimize-and-publish/world-preview-image-design-guidelines A guide or video tutorial on getting started with the Meta Horizon Desktop Editor, presented by SeeingBlue. ```markdown [MHCP Mentor Office Hour Video: Getting Started Meta Horizon Desktop Editor with SeeingBlue](link/to/video) ``` -------------------------------- ### Getting Started Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/tutorial-worlds/genre-samples/sim-tycoon-tutorial/module-0-setup A guide to getting started with the Meta Horizon Desktop Editor for world creation. ```plaintext # This section likely provides instructions on using the desktop editor interface. ``` -------------------------------- ### Getting Started Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/typescript/events A guide to help users begin using the Meta Horizon Desktop Editor. This covers installation, basic navigation, and core functionalities. ```typescript // This entry refers to a getting started guide. The code would be basic setup or editor interaction examples. // It might involve scene manipulation or asset import commands. // Example of a hypothetical editor command: // Editor.createObject("Cube"); // Editor.importAsset("path/to/model.glb"); ``` -------------------------------- ### MHCP Mentor Office Hour Video: Getting Started Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/mhcp-program/mhcp-partner-page A mentor guides users on getting started with the Meta Horizon Desktop Editor. Covers installation, basic interface, and initial project setup. ```text # MHCP Mentor Office Hour: Getting Started with Meta Horizon Desktop Editor This video tutorial provides a comprehensive introduction to the Meta Horizon Desktop Editor, covering installation, navigating the user interface, and setting up your first project. ``` -------------------------------- ### Basic NavMesh API Setup and Pathfinding Source: https://developers.meta.com/horizon-worlds/learn/documentation/desktop-editor/npcs/navigation-mesh-generation Demonstrates the setup for accessing NavMesh references, including manager instantiation, requesting profiles by name, and performing pathfinding queries. Use this script to get started with runtime navigation. ```typescript import NavMeshManager, {NavMesh} from 'horizon/navmesh';  import * as hz from 'horizon/core';   type Props = {};   class ExampleNavAgentScript extends hz.Component {     static propsDefinition: hz.PropsDefinition = {};     navMesh!: NavMesh;     public start = async () => {       // The manager/`directory` is responsible for procuring navmesh references.       // The `getInstance` result can be cached, or the method can be called again later as needed.       const directory = NavMeshManager.getInstance(this.world); // The directory allows us to get references to any navmesh profile we've defined in the editor.       const mesh = await directory.getByName('NPC');       if (!mesh) {         console.log('No navmesh available! Did you type the name wrong?');         return;       } // The reference can be treated as a first-class object and stored, passed around, etc.       this.navMesh = mesh; // Finally, we can do something with the navmesh reference.       this.findPathExample();     };     private findPathExample = () => {       // Get a path from the origin to (5,0,5)       const path = this.navMesh.getPath(         new hz.Vec3(0, 0, 0),         new hz.Vec3(5, 0, 5),       );       if (path) {         // access `path.waypoints`       }     };   }   hz.Component.register(ExampleNavAgentScript);   ``` -------------------------------- ### Meta Horizon Worlds: Getting Started with Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/save-optimize-and-publish/intro-to-worlds-discovery A guide for beginners on getting started with the Meta Horizon Desktop Editor. Covers initial setup, interface navigation, and basic functionalities. ```typescript // This section refers to a guide on the Desktop Editor and does not contain direct code. // It would likely cover launching the editor, creating a new world, and basic scene manipulation. ``` -------------------------------- ### Getting Started with Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/code-blocks-and-gizmos/shop-asset-template An introductory guide to using the Meta Horizon Desktop Editor for world creation and development. ```plaintext Editor Layout: - Scene View - Inspector Panel - Project Panel - Toolbar ``` -------------------------------- ### TypeScript: Getting Started with Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/create-for-web-and-mobile/growth-insights-series/designing-a-mobile-game-new-user-experience-101-ten-best-practices Guides users on getting started with the Meta Horizon Desktop Editor using TypeScript. ```typescript // This snippet serves as a conceptual starting point for using the Desktop Editor. // Actual interaction would involve editor-specific APIs or workflows. // Example: Accessing editor-specific functionalities (hypothetical) // import { EditorAPI } from "@meta-horizon/editor"; // const editor = EditorAPI.instance; // function initializeEditorProject() { // if (editor.isProjectLoaded()) { // console.log("Project is already loaded."); // } else { // editor.newProject("MyNewWorld"); // console.log("New project created."); // } // } // initializeEditorProject(); // In a real scenario, you'd likely be writing scripts that interact with // scene objects, components, and editor tools provided by the environment. ``` -------------------------------- ### Getting Started with Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/create-for-web-and-mobile/growth-insights-series/designing-a-mobile-game-economy-store-and-digital-offerings This example provides a basic script structure for use within the Meta Horizon Desktop Editor, demonstrating how to initialize and log messages. ```typescript import { Logger } from '@horizon/editor-api'; function onInitialize() { Logger.log('Meta Horizon Desktop Editor script initialized!'); // Add your editor-specific script logic here } // The editor might provide a specific entry point or event for initialization // For example: // EditorAPI.on('initialize', onInitialize); // Placeholder for initialization call if not automatically handled // onInitialize(); ``` -------------------------------- ### MHCP Mentor Office Hour Video: Getting Started Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/desktop-editor/getting-started/world-capacity This video serves as a beginner's guide to the Meta Horizon Desktop Editor, covering essential features and workflows for world creation. ```markdown ## MHCP Mentor Office Hour Video: Getting Started Meta Horizon Desktop Editor This session is designed for new creators to get acquainted with the Meta Horizon Desktop Editor. We'll walk through the interface, basic tools, and the fundamental steps to start building your worlds. ``` -------------------------------- ### MHCP Mentor Office Hour Video: Getting Started Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/code-blocks-and-gizmos/about-gizmos This video serves as a beginner's guide to the Meta Horizon Desktop Editor, covering essential features and workflows for world creation. ```plaintext # MHCP Mentor Office Hour Video: Getting Started Meta Horizon Desktop Editor Learn the fundamentals of using the Meta Horizon Desktop Editor to begin building your worlds efficiently. ``` -------------------------------- ### Start a Tutorial Source: https://developers.meta.com/horizon-worlds/learn/documentation/tutorial-worlds/new-user-experience-tutorial/module-2-tutorial-manager Starts a registered tutorial. This will trigger the tutorial's steps. ```lua tutorialManager:StartTutorial("WelcomeTutorial") print("Tutorial 'WelcomeTutorial' started") ``` -------------------------------- ### Getting Started Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/desktop-editor/noesis-ui/shared-mode-noesis-scripts This office hour video, hosted by SeeingBlue, offers guidance for beginners on getting started with the Meta Horizon Desktop Editor. ```documentation Office hour video: Getting started with the Meta Horizon Desktop Editor. ``` -------------------------------- ### Basic Portal Gizmo Setup Source: https://developers.meta.com/horizon-worlds/learn/documentation/code-blocks-and-gizmos/use-the-portal-gizmo This snippet shows the fundamental setup for a Portal Gizmo. Ensure the gizmo is correctly configured to enable its functionality. ```lua local PortalGizmo = require("RuntimeGizmos.PortalGizmo") local portal = PortalGizmo.new() portal:SetDestination("MyOtherScene") portal:SetEnabled(true) ``` -------------------------------- ### Initialize Tutorial Manager Source: https://developers.meta.com/horizon-worlds/learn/documentation/tutorial-worlds/new-user-experience-tutorial/module-2-tutorial-manager Initializes the Tutorial Manager. This should be called once when the world starts. ```lua local tutorialManager = TutorialManager.New() print("Tutorial Manager initialized") ``` -------------------------------- ### Basic Trigger Zone Setup Source: https://developers.meta.com/horizon-worlds/learn/documentation/code-blocks-and-gizmos/use-the-trigger-zone This example shows the fundamental setup for a Trigger Zone. Ensure the Trigger Zone gizmo is added to your scene and its properties are configured. ```javascript //@input Component.TriggerZone triggerZone function onTriggerEnter(event) { print("Player entered the trigger zone!"); } function onTriggerExit(event) { print("Player exited the trigger zone."); } script.triggerZone.onTriggerEnter.connect(onTriggerEnter); script.triggerZone.onTriggerExit.connect(onTriggerExit); ``` -------------------------------- ### MHCP Mentor Office Hour Video: Getting Started Meta Horizon Desktop Editor with SeeingBlue Source: https://developers.meta.com/horizon-worlds/learn/documentation/desktop-editor/generative-ai-creation-tools/generative-ai-environment-generation-tool This code snippet is likely a foundational example from a tutorial on using the Meta Horizon Desktop Editor. It may cover basic scene manipulation or component setup. ```typescript import { Scene } from '@horizon/api'; // Example of creating a basic object in the scene const cube = Scene.createPrimitive({ type: "cube", position: { x: 0, y: 1, z: 0 }, scale: { x: 1, y: 1, z: 1 } }); console.log("Cube created in the scene."); ``` -------------------------------- ### Meta Horizon Worlds: MHCP Mentor Office Hour Video: Getting Started Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/save-optimize-and-publish/intro-to-worlds-discovery An office hour video session with SeeingBlue providing a beginner's guide to the Meta Horizon Desktop Editor. Covers initial setup and fundamental usage. ```typescript // This section refers to a video tutorial and does not contain direct code. // It would guide new users through launching the editor, creating a project, and navigating the interface. ``` -------------------------------- ### MHCP Mentor Office Hour Video: Getting Started Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/desktop-editor/getting-started/introduction-to-desktop-editor A video session providing guidance for beginners on getting started with the Meta Horizon Desktop Editor. ```bash # Basic commands to navigate and interact with the editor open "Meta Horizon Worlds Editor.app" ``` -------------------------------- ### Build Your First World with TypeScript Source: https://developers.meta.com/horizon-worlds/learn/documentation/get-started/create-your-first-world-continued A guide to building your initial world using TypeScript. This session focuses on getting started with the development environment and basic world creation. ```typescript import { World } from "@horizon/scripts"; // Initialize your world World.init({ name: "My First World", description: "A world created with TypeScript!" }); console.log("World initialized."); ``` -------------------------------- ### MHCP Mentor Office Hour Video: Getting Started Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/code-blocks-and-gizmos/profiles-to-follow-asset-template A beginner-friendly session on getting started with the Meta Horizon Desktop Editor, covering essential tools and workflows. ```typescript MHCP Mentor Office Hour Video: Getting Started Meta Horizon Desktop Editor with SeeingBlue ``` -------------------------------- ### Text Entry and Formatting Tutorial Source: https://developers.meta.com/horizon-worlds/learn/documentation/code-blocks-and-gizmos/inventory-asset-template This example shows how to handle text entry and formatting within Meta Horizon Worlds. This is useful for user input and display. ```javascript const textInput = Scene.UI.TextInput.get("my_text_input"); const textDisplay = Scene.UI.Text.get("my_text_display"); // Set text input value textInput.setValue("Enter text here"); // Get text input value const enteredText = textInput.getValue(); // Set text display content textDisplay.setText("You entered: " + enteredText); // Apply formatting (e.g., bold) textDisplay.setStyle({ fontWeight: "bold" }); ``` -------------------------------- ### Getting Started with Meta Horizon Desktop Editor Source: https://developers.meta.com/horizon-worlds/learn/documentation/performance-best-practices-and-tooling/performance-tools/performance-scrubbing An introductory guide to using the Meta Horizon Desktop Editor for world creation. This covers basic navigation and tool usage. ```javascript // Example of a script that might be used within the Desktop Editor context // This is a placeholder as the Desktop Editor itself is a tool, not a scriptable environment in this context. console.log("Initializing Desktop Editor environment..."); ``` -------------------------------- ### Mobile Worlds Crash Course: Getting Started Source: https://developers.meta.com/horizon-worlds/learn/documentation/create-for-web-and-mobile/publishing-worlds-on-mobile An introductory guide to creating worlds for mobile. Covers the initial steps and considerations for mobile development in Meta Horizon Worlds. ```markdown ## Mobile worlds crash course, part 1: Getting Started An introductory guide to creating worlds for mobile. Covers the initial steps and considerations for mobile development in Meta Horizon Worlds. ``` -------------------------------- ### Blender Basics and UV Unwrapping Source: https://developers.meta.com/horizon-worlds/learn/documentation/vr-creation Get started with 3D modeling in Blender, focusing on basic operations and UV unwrapping for texturing assets in Meta Horizon Worlds. This guide is by SpaceGlitterUnicorn. ```python # Example Python script for Blender (conceptual) import bpy # Create a cubepy.ops.mesh.primitive_cube_add(size=2) # UV unwrapping operations would follow ``` -------------------------------- ### Getting Started Meta Horizon Desktop Editor with SeeingBlue Source: https://developers.meta.com/horizon-worlds/learn/documentation/desktop-editor/assets/making-assets-public A beginner's guide to using the Meta Horizon Desktop Editor, covering essential tools and workflows for world creation. ```typescript // This section likely provides an overview of the editor's interface and basic functionalities. // Example conceptual code: function openEditor() { print("Opening Meta Horizon Desktop Editor..."); // Editor initialization logic } function placeObject(objectName: string, position: Vector3) { print(`Placing ${objectName} at ${position}`); // Logic to instantiate an object in the editor scene } ``` -------------------------------- ### Use File-Backed Scripts Source: https://developers.meta.com/horizon-worlds/learn/documentation/desktop-editor/desktop-editor This example demonstrates how to use file-backed scripts, allowing for more complex and modular code organization in Meta Horizon Worlds. ```javascript // This script is loaded from an external file // Example: require("scripts/my_utility_script.js"); ```