C# Class HoloToolkit.Unity.TapToPlace

The TapToPlace class is a basic way to enable users to move objects and place them on real world surfaces. Put this script on the object you want to be able to move. Users will be able to tap objects, gaze elsewhere, and perform the tap gesture again to place. This script is used in conjunction with GazeManager, GestureManager, and SpatialMappingManager. TapToPlace also adds a WorldAnchor component to enable persistence.
Inheritance: UnityEngine.MonoBehaviour
显示文件 Open project: Microsoft/HoloToolkit-Unity

Public Methods

Method Description
OnSelect ( ) : void

Private Methods

Method Description
Start ( ) : void
Update ( ) : void

Method Details

OnSelect() public method

public OnSelect ( ) : void
return void