Language
Edit

MRTKPokeReticleVisual Class

Definition

The reticle visual for a poke interactor. This behavior takes care of showing the reticle when the interactor is hovering over a target.

public class MRTKPokeReticleVisual : MixedReality.Toolkit.Input.BaseReticleVisual
type MRTKPokeReticleVisual = class
    inherit BaseReticleVisual
Public Class MRTKPokeReticleVisual
Inherits BaseReticleVisual
Inheritance
UnityEngine.MonoBehaviour
MRTKPokeReticleVisual

Constructors

Name Description
MRTKPokeReticleVisual()

Properties

Name Description
BaseReticle

The reticle model to use when the interactable doesn't specify a custom one.

(Inherited from BaseReticleVisual)
CustomReticle

Staging area for custom reticles that interactors can attach to show unique visuals.

(Inherited from BaseReticleVisual)
CustomReticleAttached

Is there a custom reticle currently attached to this interactor?

(Inherited from BaseReticleVisual)
Reticle

The current reticle that the interactor is using.

(Inherited from BaseReticleVisual)
ReticleRoot

The root of the reticle visuals.

(Inherited from BaseReticleVisual)
Visual

Cached reference to the IReticleVisual component on Reticle.

(Inherited from BaseReticleVisual)

Methods

Name Description
AttachCustomReticle(GameObject) (Inherited from BaseReticleVisual)
OnDisable()

A Unity event function that is called when the script component has been disabled.

OnEnable()

A Unity event function that is called when the script component has been enabled.

RemoveCustomReticle() (Inherited from BaseReticleVisual)

Applies to