API reference
API reference
Select your platform
No SDKs available
No versions available

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 Oculus.Interaction.Samples.InteractableObjectLabel._started

Fields

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