👋
NRSDK(Old)
v1.10.2
v1.10.2
  • NRSDK Fundamentals
    • NRSDK Overview
    • XREAL Devices
      • XREAL Glasses
      • Controller
      • Compatibility
    • Getting Started with NRSDK
    • Sample Code
    • Tutorials
    • Release Note
      • 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
    • 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
    • Tools
      • First Person View
      • Emulator
      • Notification popup
      • Reset Camera
    • MRTK Integration
  • Advanced
    • Access RGB Camera
    • NRSDK Coordinate Systems
  • XR Streaming
  • Frequently Asked Questions
Powered by GitBook
On this page

Was this helpful?

  1. NRSDK Fundamentals

Sample Code

PreviousGetting Started with NRSDKNextTutorials

Last updated 1 year ago

Was this helpful?

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

Project code can be downloaded

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)

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