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

Class that enables user to pinch to change scale of AR scene. More...

Inheritance diagram for ARPinchZoom:

Public Member Functions

void InitSizeAndARSesh (Transform _arSessionParent)
 Initialize this object using the default size range. More...
 
void InitSizeAndARSesh (Transform _arSessionParent, Vector2 _sizeRange)
 Initialize this object specifying a non-default size range. More...
 

Detailed Description

Class that enables user to pinch to change scale of AR scene.

Will change scale of the whole scene/all objects - don't use this class to pinch to zoom individual objects.

Member Function Documentation

◆ InitSizeAndARSesh() [1/2]

void ARPinchZoom.InitSizeAndARSesh ( Transform  _arSessionParent)

Initialize this object using the default size range.

Parameters
_arSessionParentGameObject that has scene's ARSessionParent component on it.

◆ InitSizeAndARSesh() [2/2]

void ARPinchZoom.InitSizeAndARSesh ( Transform  _arSessionParent,
Vector2  _sizeRange 
)

Initialize this object specifying a non-default size range.

Parameters
_arSessionParentGameObject that has scene's ARSessionParent component on it.
_sizeRangeMax and min size values to use.

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