Skip to content

Screen Collision Indicator

eisclimber edited this page Feb 15, 2024 · 3 revisions

Screen Collision Indicator

class in ExPresSXR.UI / Extends MonoBehavior
GameObject instantiable via ExPresS XR/Screen Collision Indicator

Description

A visual indicator for on screen collision that fades the screen corners.

Members

Public Properties

  • float strength: The strength of the indicator. Ranging from 0.0f (=invisible) to 1.0f(=completely visible).
  • Color indicatorColor: The color the indicator is tinted.

Public Methods

  • void FadeIn(float duration): Fades the indicator in (i.e. makes it visible) over time. Values less or equal fade instant.
  • void FadeOut(float duration): Fades the indicator in (i.e. makes hides it) over time. Values less or equal fade instant.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally