POITooltip Class |
Namespace: ImmerseSDK.UI
The POITooltip type exposes the following members.
Name | Description | |
---|---|---|
POITooltip | Initializes a new instance of the POITooltip class |
Name | Description | |
---|---|---|
Awake |
Unity Component method
(Overrides TooltipAwake.) |
Name | Description | |
---|---|---|
_animator |
Animator to use for animation. If this isn't set, the component will look for an Animator on the same GameObject, and if not found, it will not play animations.
| |
_arrowTransform |
Transform of the Arrow object so we can move the canvas slightly when we scale up and down to keep it pointing at the correct location
| |
_hideTriggerParameterName |
The trigger parameter in the animation state machine
| |
_maxDistanceInMeters |
Maximum distance in meters for tooltip to show
| |
_maxDistanceInMetersForTooltip |
Maximum distance in meters for arrow to show
| |
_minDistanceInMeters |
Minimum distance in meters
| |
_showArrowTriggerParameterName |
The trigger parameter in the animation state machine
| |
_showTooltipTriggerParameterName |
The trigger parameter in the animation state machine
| |
_sizeScalarAtMaxDistance |
Scalar to either reduce or enlarge the size of the tooltip the further away it gets from the min distance.
A value of 1.0f keeps it at the same size up to max distance.
A value of 0.9f will use 90% of the size at max distance, and 100% of the size at min distance.
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |