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

Project code can be downloaded here

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)