# Sample Code

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

<table><thead><tr><th width="257.4611260163377">Documentation</th><th width="381.05859441672305">Relevant Unity Scene and Sample Code</th></tr></thead><tbody><tr><td></td><td><strong>HelloMR</strong><br><br><code>NRKernal.NRExamples.HelloMRController</code><br><code>NRKernal.NRExamples.DemoScenesMenu</code></td></tr><tr><td><a href="../development/input-and-camera/nrinput">Controller Basics</a></td><td><strong>Input-ControllerInfo</strong><br><br><code>NRKernal.NRExamples.ControllerInfoDisplayUI</code></td></tr><tr><td><a href="../development/input-and-camera/customize-phone-controller">Customize Controller UI</a></td><td><strong>Input-VirtualController</strong><br><br><code>NRKernal.NRExamples.CustomVirtualControlerUI</code></td></tr><tr><td><a href="../development/input-and-camera/interact-with-unity-ui-tutorial">Object Manipulation (Tutorial)</a></td><td><strong>Input-Interaction</strong><br><br><code>NRKernal.NRExamples.CubeInteractiveTest</code></td></tr><tr><td><a href="../development/hand-tracking">Hand Tracking</a></td><td><strong>HandTracking</strong><br><br><code>NRKernal.NRExamples.HandTrackingExample</code></td></tr><tr><td><a href="../development/image-tracking">Image Tracking</a></td><td><strong>ImageTracking</strong><br><br><code>NRKernal.NRExamples.TrackingImageExampleController</code></td></tr><tr><td><a href="../development/plane-detection-tutorial">Plane Detection (Tutorial) </a></td><td>Project code can be downloaded <a href="../development/plane-detection-tutorial/wrap-up">here</a></td></tr><tr><td><a href="../development/depth-mesh/tutorial-mesh-collision">Depth Mesh</a></td><td><strong>Meshing</strong><br><br><code>NRKernal.NRExamples.NRMeshingManager</code></td></tr><tr><td><a href="../development/spatial-anchor">Spatial Anchor</a></td><td><strong>MappingExample</strong><br><br><code>NRKernal.NRExamples.LocalMapExample</code><br><code>NRKernal.Persistence.AnchorItem</code><br><code>NRKernal.Persistence.NRWorldAnchor</code><br><code>NRKernal.Persistence.NRWorldAnchorStore</code></td></tr><tr><td></td><td><strong>HelloMRSwitchConfig (Experimental)</strong><br><br><code>NRKernal.NRExamples.PlaneDetector</code></td></tr><tr><td></td><td><strong>RGBCamera</strong><br><br><code>NRKernal.NRExamples.CameraCaptureController</code></td></tr><tr><td><a href="../development/miscellaneous/recording">Access RGB Camera</a></td><td><strong>RGBCamera-Record</strong><br><br><code>NRKernal.NRExamples.VideoCapture2LocalExample</code></td></tr><tr><td></td><td><strong>RGBCamera-Capture</strong><br><br><code>NRKernal.NRExamples.PhotoCaptureExample</code></td></tr><tr><td><a href="../development/tools/first-person-view">First Person View</a></td><td><strong>FirstPersonViewStreamingCast</strong> (Experimental)<br><br><code>NRKernal.Experimental.StreammingCast.FirstPersonStreammingCast</code> (Experimental)</td></tr><tr><td></td><td><strong>HelloMR-ChangeMode</strong> (Experimental)<br><br><code>NRKernal.NRExamples.ChangeModeController</code></td></tr><tr><td></td><td><strong>PupilDistanceAdjustment</strong> (Experimental)<br><br><code>NRKernal.Experimental.NRExamples.PupilDistanceAdjustment</code> (Experimental)</td></tr><tr><td></td><td><strong>RenderForDistance</strong> (Experimental)</td></tr><tr><td></td><td><strong>Overlay-VideoPlayer</strong> (Experimental)</td></tr><tr><td></td><td><strong>AudioStreamming</strong> (Experimental)<br><br><code>NRKernal.Experimental.NRExamples.AudioCaptureExample</code> (Experimental)</td></tr></tbody></table>

<br>
