|
Default AR App
Documentation for the Default AR App project found at https://github.com/ingratexr/unity-ar-boilerplate
|
Class that enables user to pinch to change scale of AR scene. More...
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... | |
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.
| void ARPinchZoom.InitSizeAndARSesh | ( | Transform | _arSessionParent | ) |
Initialize this object using the default size range.
| _arSessionParent | GameObject that has scene's ARSessionParent component on it. |
| void ARPinchZoom.InitSizeAndARSesh | ( | Transform | _arSessionParent, |
| Vector2 | _sizeRange | ||
| ) |
Initialize this object specifying a non-default size range.
| _arSessionParent | GameObject that has scene's ARSessionParent component on it. |
| _sizeRange | Max and min size values to use. |