Script that enables and disables, as well as adjusts fade on a curve based on the camera angle and other factors.
More...
|
| 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.
|
| |
Script that enables and disables, as well as adjusts fade on a curve based on the camera angle and other factors.
◆ 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
-
| positionCalculationTransform | The 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
-
| rotationCalculationTransform | The transform to use for rotation calculations. |
The documentation for this class was generated from the following file: