Search Results for

    Show / Hide Table of Contents

    Class CrosshairController

    The CrosshairController activates/deactivates the crosshair which is positioned in the middle of the screen. This can e.g. happen when an object is grabbed or an overlay is active.

    Inheritance
    object
    CrosshairController
    Namespace: Interaction
    Assembly: .dll
    Syntax
    public class CrosshairController : MonoBehaviour

    Fields

    | Edit this page View Source

    contextButtonsAreActive

    Changes depending if the contextButtons are active.

    Declaration
    public bool contextButtonsAreActive
    Field Value
    Type Description
    bool

    True if contextButtons are active.

    Methods

    | Edit this page View Source

    ActivateContextButtons()

    Activates the context buttons.

    Declaration
    public void ActivateContextButtons()
    | Edit this page View Source

    ActivateCrosshair()

    Activate the crosshair.

    Declaration
    public void ActivateCrosshair()
    | Edit this page View Source

    DeactivateContextButtons()

    Deactivates the context buttons.

    Declaration
    public void DeactivateContextButtons()
    | Edit this page View Source

    DeactivateCrosshair()

    Deactivates the crosshair.

    Declaration
    public void DeactivateCrosshair()
    • Edit this page
    • View Source
    In this article
    Back to top TrainAR Documentation