Default AR App
Documentation for the Default AR App project found at https://github.com/ingratexr/unity-ar-boilerplate
ARRotateGesture Class Reference

Class that detects rotating two-finger touch input from user and rotates the scene's ARSessionOrigin object (therefore rotating the scene) as the touch input rotates. More...

Inheritance diagram for ARRotateGesture:

Public Member Functions

void SetARSessionOrigin (Transform _arSessionOrigin)
 Set reference to scene's ARSessionOrigin object, and its starting rotation. More...
 

Detailed Description

Class that detects rotating two-finger touch input from user and rotates the scene's ARSessionOrigin object (therefore rotating the scene) as the touch input rotates.

Member Function Documentation

◆ SetARSessionOrigin()

void ARRotateGesture.SetARSessionOrigin ( Transform  _arSessionOrigin)

Set reference to scene's ARSessionOrigin object, and its starting rotation.

Rotating this object rotates the scene.

Parameters
_arSessionOriginThe scene's AR Session Origin object.

The documentation for this class was generated from the following file: