🕶️
NRSDK(Old)
New DocumentationSDK DownloadAPI Reference
v2.2.1
v2.2.1
  • NRSDK Fundamentals
    • NRSDK Overview
    • XREAL Devices
      • XREAL Glasses
      • Controller
      • Compatibility
    • Getting Started with NRSDK
    • Sample Code
    • Tutorials
    • Release Note
      • NRSDK 2.2.1
      • NRSDK 2.2.0
      • NRSDK 2.1.1
      • NRSDK 2.1.0
      • NRSDK 1.10.2
      • NRSDK 1.9.5
      • NRSDK 1.9.3
      • NRSDK 1.9.1
      • NRSDK 1.8.0
      • NRSDK 1.7.0
      • NRSDK 1.6.0
  • Development
    • Input and Camera
      • NRInput
      • Interact with Unity UI (Tutorial)
      • Customize Controller UI
      • NRCameraRig
    • Hand Tracking
    • Image Tracking
      • XREAL Markers
    • Plane Detection (Tutorial)
      • Overview
      • Import the package
      • Detect planes in the real world
      • Perform a hit test against detected planes
      • Add a car
      • Add gems
      • Wrap up
    • Depth Mesh
      • Meshing Manager Overview
      • Use Meshes in the Editor
      • Tutorial: Mesh Collision
    • Spatial Anchor
      • Mapping Example Scene
      • Tutorial: Halloween Treasure Hunt
        • Handle the Situation of Failed Anchor Saving
      • Tutorial: Sharing Anchors
        • Setting Up Photon
        • Cloud Storage: Firebase (optional)
        • Cloud Storage: Aliyun OSS (optional)
        • Implementing Cloud Save and Load
        • Sharing Anchors with Photon
    • Tools
      • Single Pass Stereo Rendering
      • First Person View
      • Emulator
      • XR Streaming
      • Dual Screen Display
    • Miscellaneous
      • Access RGB Camera
      • NRSDK Coordinate Systems
      • MRTK2 Integration
      • MRTK3 Integration
      • Notification popup
      • Reset Camera
      • Render Metrics
      • Render MonoMode(Obsolete)
  • API Reference
  • Frequently Asked Questions
  • Design Guide
    • Design Guide Overview
    • Displaying
    • Interacting
    • Controlling
    • Navigating
Powered by GitBook
On this page

Was this helpful?

  1. NRSDK Fundamentals

Sample Code

Listed here are the sample code from demo scenes in NRSDK package and code described throughout this documentation.

Documentation
Relevant Unity Scene and Sample Code

HelloMR NRKernal.NRExamples.HelloMRController NRKernal.NRExamples.DemoScenesMenu

Input-ControllerInfo NRKernal.NRExamples.ControllerInfoDisplayUI

Input-VirtualController NRKernal.NRExamples.CustomVirtualControlerUI

Input-Interaction NRKernal.NRExamples.CubeInteractiveTest

HandTracking NRKernal.NRExamples.HandTrackingExample

ImageTracking NRKernal.NRExamples.TrackingImageExampleController

Meshing NRKernal.NRExamples.NRMeshingManager

MappingExample NRKernal.NRExamples.LocalMapExample NRKernal.Persistence.AnchorItem NRKernal.Persistence.NRWorldAnchor NRKernal.Persistence.NRWorldAnchorStore

HelloMRSwitchConfig (Experimental) NRKernal.NRExamples.PlaneDetector

RGBCamera NRKernal.NRExamples.CameraCaptureController

RGBCamera-Record NRKernal.NRExamples.VideoCapture2LocalExample

RGBCamera-Capture NRKernal.NRExamples.PhotoCaptureExample

FirstPersonViewStreamingCast (Experimental) NRKernal.Experimental.StreammingCast.FirstPersonStreammingCast (Experimental)

HelloMR-ChangeMode (Experimental) NRKernal.NRExamples.ChangeModeController

PupilDistanceAdjustment (Experimental) NRKernal.Experimental.NRExamples.PupilDistanceAdjustment (Experimental)

RenderForDistance (Experimental)

Overlay-VideoPlayer (Experimental)

AudioStreamming (Experimental) NRKernal.Experimental.NRExamples.AudioCaptureExample (Experimental)

PreviousGetting Started with NRSDKNextTutorials

Was this helpful?

Project code can be downloaded

Controller Basics
Customize Controller UI
Object Manipulation (Tutorial)
Hand Tracking
Image Tracking
Plane Detection (Tutorial)
here
Depth Mesh
Spatial Anchor
Access RGB Camera
First Person View