⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    HolographicSight MonoBehaviour

    Overview

    The HolographicSight behaviour is used to define weapon optics that project a reticule in front of the weapon when viewed through the sight. This is achieved using stencil shaders, and the holographic sight behaviour's main use is to control the colour and the brightness of the reticule.

    Inspector

    HolographicSight

    Properties

    Name Type Description
    Color Color The base colour of the reticule.
    Reticule GameObject The game object with the reticule mesh attached. This should be placed directly in front of the weapon at the desired distance.
    Brightness Settings Float Array A series of brightness values that can be cycled through with the Optics Brightness +/- inputs.
    Brightness Setting int The index of the starting brightness setting from the above array.

    See Also

    Modular Firearms

    Scopes & Optics

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX