SwiftXR Documentation
Get StartedGitHubCommunity
  • 👉 Introduction
  • 🍭 Creating a Project
  • 🧭 Navigate the Interface
    • Left Panel
      • Layers Panel
      • File Manager (Files)
      • Project Settings
      • Video Tutorials
    • Working Area
  • 🎨 Templates
    • 3D
    • Augmented Reality
    • Virtual Reality
    • Face Tracking
    • Image Tracking
  • 🗃️ Components
    • 3D Viewer
      • Actions
      • Postion
      • Size
      • Layout
      • Background
        • Background Image
      • Effects
    • Augmented Reality (AR)
      • Properties (AR)
    • Virtual Reality (VR)
      • Properties (VR)
      • VR Editor
    • 3D Carousel
      • Carousel Options
    • Image Tracking
      • Image Tracking
    • Face Tracking
      • Face Tracking
      • Face Tracking Editor
    • Customizable 3D Viewer
      • Customization Options
      • Variants
    • 3D Text
      • 3D text
      • Generate 3D Text
    • Indexable 3D Viewer (Developers)
      • Indexing Options
    • AR Artwork Viewer
      • Artwork Settings
    • AI Artwork Viewer
      • AI Artwork
      • AI Generator
    • ReadyPlayerMe
      • Avatar Settings
  • 🔌 Plugins
    • WiX
    • Shopify
    • Squarespace
    • WordPress
    • WooCommerce
    • Framer
    • Webflow
    • GoDaddy
    • Zoho Commerce
    • Zoho Sites
    • Blender
      • Version 4.1 or Below
      • Version 4.2 or Above
    • Canva
    • Figma
    • HubSpot CMS
    • Clo3d
    • Style3d
    • Daz3d
    • Weebly
    • Concrete CMS
    • Dorik
    • Format
    • UCraft
    • Brizy
    • Bubble
    • Tinkercad
  • 🪢 Integrations
    • HTML
    • React and Next.js
    • Svelte
    • Angular
    • Vue
    • Swift
  • 🎮 3D Content Creation
    • 3D Modelling Softwares
      • Blender
      • Maya
      • Sketchup
    • 3D Asset Stores
      • Sketchfab
      • Free 3D
    • 3D Scanning/Capture
      • Luma AI
      • Kiri Engine
    • Specifications
      • Web3D Cheat Sheet
      • Web3D Detailed Cheat Sheet
  • 💡 How To
    • Image Tracking
    • Best Practices For Image Tracking on SwiftXR
    • Face Tracking
    • Indexable Model Viewer
    • How to Enable Animation in AR on IOS Devices
    • How to Add Labels and Text to 3D Models: A step-by-step guide
    • How to convert images to 3D models
Powered by GitBook
On this page
  • Introduction
  • Creating a Project in SwiftXR
  • Add a Component/Upload a 3D Model to the Canvas
  • Publishing Your SwiftXR Project
  • Copy Embed Code
  • Integrating SwiftXR into Swift UI Websites
  • Viewing your Scene in the Web, AR or VR
  • Conclusion

Was this helpful?

  1. 🪢 Integrations

Swift

Add or embed 3D, Augmented Reality (AR), and Virtual Reality (VR) content/design to your Swift application.

PreviousVueNext🎮 3D Content Creation

Last updated 1 year ago

Was this helpful?

Introduction

SwiftXR is a powerful platform for creating and sharing interactive 3D, augmented reality (AR), and virtual reality (VR) experiences on the web. With the SwiftXR (3D/AR/VR) Integration for Swift UI, you can easily integrate SwiftXR Projects into your Swift UI websites/webapps, enabling you to create immersive and interactive web experiences.

Creating a Project in SwiftXR

  • Navigate to the SwiftXR Hub: Begin by visiting the SwiftXR Hub.

  • Initiate Project Creation: Once on Hub, click the "Create Project" button and enter your desired project name.

  • Design and Develop: Utilize the intuitive editor to effortlessly add and customize SwiftXR components, bringing your 3D vision to life.

Add a Component/Upload a 3D Model to the Canvas

  • From the component tab, click or drag and drop a 3D viewer component to add it to the white canvas.

  • Select the "Properties" tab to upload a 3D model, import from a 3D store or Request a 3D model from support@swiftxr.io.

Publishing Your SwiftXR Project

Utilize the editor to create your 3D vision using the SwiftXR components. Once satisfied with your creation, press the "Publish" or "Update" button to make your project live.

Copy Embed Code

After publishing, click the dropdown button beside the "Update" button and select "Share." Within the Share modal, click the "Copy Embed" button to copy the embed code for your project.

Integrating SwiftXR into Swift UI Websites

  • Simply paste the copied Swift UI embed code into the desired section of your website's Swift UI source code to seamlessly integrate and showcase the 3D/AR/VR view on your site

Viewing your Scene in the Web, AR or VR

Save and deploy the Swift UI website and view the link on any device to explore it immersively.

Conclusion

By integrating SwiftXR with Swift UI, you can seamlessly blend 3D elements into your web prototypes, creating more engaging and interactive experiences for your users. Explore the possibilities of using SwiftXR to enhance your Swift UI prototypes and bring your ideas to life in an immersive and interactive way.