API reference

InteractableObjectLabel Class

Extends MonoBehaviour
Label use to tag the possible interaction in each object.
It appears when the user faces the object and disappears if the object is not being faced directly or an interaction was triggered. The default material makes sure the labels appear in front of everything, and uses the CanvasRenderTexture to render anything that is added to the canvas.

Protected Fields

_started : bool
Signature
bool _started

Fields

alignmentThreshold : float
Signature
float alignmentThreshold
alphaAnimationSpeed : float
Signature
float alphaAnimationSpeed
canvasTexture : CanvasRenderTexture
Signature
CanvasRenderTexture canvasTexture
canvasTransform : RectTransform
Signature
RectTransform canvasTransform
focusDelay : float
Signature
float focusDelay
group : CanvasGroup
Signature
CanvasGroup group
hideDelay : float
Signature
float hideDelay
interactableGroup : InteractableGroupView
Signature
InteractableGroupView interactableGroup
labelPositions : List< Transform >
Signature
List<Transform> labelPositions
minScale : float
Signature
float minScale
playerHead : Transform
Signature
Transform playerHead
positionAnimationSpeed : float
Signature
float positionAnimationSpeed
quadMaterial : Material
Signature
Material quadMaterial
quadMesh : Mesh
Signature
Mesh quadMesh
viewTargets : List< Transform >
Signature
List<Transform> viewTargets