> For the complete documentation index, see [llms.txt](https://xreal.gitbook.io/nrsdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xreal.gitbook.io/nrsdk/nrsdk-fundamentals/sample-code.md).

# 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="/nrsdk/development/input-and-camera/nrinput.md">Controller Basics</a></td><td><strong>Input-ControllerInfo</strong><br><br><code>NRKernal.NRExamples.ControllerInfoDisplayUI</code></td></tr><tr><td><a href="/nrsdk/development/input-and-camera/customize-phone-controller.md">Customize Controller UI</a></td><td><strong>Input-VirtualController</strong><br><br><code>NRKernal.NRExamples.CustomVirtualControlerUI</code></td></tr><tr><td><a href="/nrsdk/development/input-and-camera/interact-with-unity-ui-tutorial.md">Object Manipulation (Tutorial)</a></td><td><strong>Input-Interaction</strong><br><br><code>NRKernal.NRExamples.CubeInteractiveTest</code></td></tr><tr><td><a href="/nrsdk/development/hand-tracking.md">Hand Tracking</a></td><td><strong>HandTracking</strong><br><br><code>NRKernal.NRExamples.HandTrackingExample</code></td></tr><tr><td><a href="/nrsdk/development/image-tracking.md">Image Tracking</a></td><td><strong>ImageTracking</strong><br><br><code>NRKernal.NRExamples.TrackingImageExampleController</code></td></tr><tr><td><a href="/nrsdk/development/plane-detection-tutorial.md">Plane Detection (Tutorial) </a></td><td>Project code can be downloaded <a href="/nrsdk/development/plane-detection-tutorial/wrap-up.md">here</a></td></tr><tr><td><a href="/nrsdk/development/depth-mesh/tutorial-mesh-collision.md">Depth Mesh</a></td><td><strong>Meshing</strong><br><br><code>NRKernal.NRExamples.NRMeshingManager</code></td></tr><tr><td><a href="/nrsdk/development/spatial-anchor.md">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="/nrsdk/development/miscellaneous/recording.md">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="/nrsdk/development/tools/first-person-view.md">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>
