FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.UI.CanvasInteractions.EnableCanvasByCameraAngle Class Reference

Script that enables and disables, as well as adjusts fade on a curve based on the camera angle and other factors. More...

Inheritance diagram for FMAR.UI.CanvasInteractions.EnableCanvasByCameraAngle:

Public Member Functions

void SetRotationCalculationTransform (Transform rotationCalculationTransform)
 Sets the rotation calculation transform. This is used to judge the canvas' rotation to determine if it should be visible.
 
void SetPositionCalculationTransform (Transform positionCalculationTransform)
 Sets the position calculation transform. This is used to judge the canvas' position to determine if it should be visible.
 

Detailed Description

Script that enables and disables, as well as adjusts fade on a curve based on the camera angle and other factors.

Member Function Documentation

◆ SetPositionCalculationTransform()

void FMAR.UI.CanvasInteractions.EnableCanvasByCameraAngle.SetPositionCalculationTransform ( Transform positionCalculationTransform)
inline

Sets the position calculation transform. This is used to judge the canvas' position to determine if it should be visible.

Parameters
positionCalculationTransformThe transform to use for position calculations.

◆ SetRotationCalculationTransform()

void FMAR.UI.CanvasInteractions.EnableCanvasByCameraAngle.SetRotationCalculationTransform ( Transform rotationCalculationTransform)
inline

Sets the rotation calculation transform. This is used to judge the canvas' rotation to determine if it should be visible.

Parameters
rotationCalculationTransformThe transform to use for rotation calculations.

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