Modifier

Partager via


Microsoft.MixedReality.Toolkit.Examples.Demos Namespace

Classes

BoundaryVisualizationDemo

Demo class to show different ways of using the boundary system and visualizing the data.

BoundingBoxExampleTest
BoundsControlRuntimeExample

This example script demonstrates various bounds control runtime configurations

ChangeManipulation

Test script that forcefully stops manipulation on the manipulatedObject when it collides with the collisionTrigger

ClearSpatialObservations

This class demonstrates clearing spatial observations.

ColorChanger

Change the color of the material on a renderer. Useful for visualizing button presses.

ColorChangerUnityUI

Change the color of the material on a UnityUI Graphic (ex. Image). Useful for visualizing button presses.

DebugTextOutput
DemoSpatialMeshHandler

This class is an example of the IMixedRealitySpatialAwarenessObservationHandler<T> interface. It keeps track of the IDs of each mesh and tracks the number of updates they have received.

DemoTouchButton
DisablePointersExample

This example demonstrates how to turn pointers on and off by specifying custom behaviors.

GridObjectLayoutControl

Provides functions to control layout of GridObjectCollection as well as to output positions of child controls to help with building GridObjectCollectionTests.

HandInteractionTouch
HandInteractionTouchRotate
HideTapToPlaceLabel

Class to toggle the visibility of a label on a Tap to Place object in the TapToPlaceExample scene.

InputDataExample

This class demonstrates how to query input data either by using InputUtils or by directly accessing InteractionMappings from all active controllers.

InputDataExampleGizmo

Attach this component to a game object to synchronize the objects position and rotation to the given input type. If the input data is not available, the component will hide the object by disabling all renderers.

LaunchUri
LeapCoreAssetsDetector

Detects if the Leap Motion Data Provider can be used given the current unity project configuration and displays a message to the LeapMotionHandTrackingExample menu panel.

LoadProfile

Loads a given Mixed Reality Toolkit configuration profile.

LoFiFilterSelection
MixedRealityCapabilityDemo

Script that demonstrates querying the Mixed Reality Toolkit for platform capabilities.

PrimaryPointerHandlerExample
ProgressIndicatorDemo

Demo class for IProgressIndicator examples

ProgressIndicatorDemoAnimation
ProgressIndicatorDemoAsyncMethod

Demo class for IProgressIndicator examples. Use a progress indicator to show when an async task has completed.

ProgressIndicatorDemoSceneLoad

Demo class for IProgressIndicator examples. Use a progress indicator to show scene load / unload operation progress. Please ensure sceneToLoad has been added to build settings.

ReturnToBounds

Resets the gameobject's position to its starting position as soon as it's moving outside the provided bounds

Rotator
ScrollableListPopulator

Simple demonstration of how to instantiate a ScrollingObjectCollection as well as use lazy loading to mitigate the perf cost of a large list of items.

ScrollablePagination

Example script of how to navigate a ScrollingObjectCollection by pagination. Allows the call to scroll pagination methods from the inspector.

ShowPlaneFindingInstructions

This class selectively displays the instructions for plane finding in the spatial awareness demo.

ShowSliderValue
SliderChangeColor
SliderLunarLander
SolverExampleManager
SolverTrackedTargetType
SpawnOnPointerEvent
SystemKeyboardExample

An example script that delegates keyboard API access either to the WMR workaround (MixedRealityKeyboard) or Unity's TouchScreenKeyboard API depending on the platform.

TetheredPlacement

Helper script to respawn objects if they go too far from their original position. Useful for objects that will fall forever etc.

TextToSpeechSample

Sample script for text to speech

ToggleBoundingBox
ToggleGazeSource

Example script to test toggling the gaze provider source from platform-specific overrides to the default camera frame center.

ToggleSpatialMeshObserver

This class controls the observer of the spatial mesh.

ToggleSpatialMeshVisualization

This class controls the visualization of the spatial mesh.

Interfaces

IProgressIndicatorDemoObject