FirstModulAR 0.1.0
Loading...
Searching...
No Matches
HighlightableObject Class Reference

Highlightable object, allows the object to be highlighted and have a pulse effect. More...

Inheritance diagram for HighlightableObject:

Public Member Functions

void HighlightObject (Color color)
 Highlights the object with the given color.
 
IEnumerator HighlightObjectPulse (Color targetColor, float duration)
 Pulses the object to the given color over the given duration, then returns to the base color.
 

Detailed Description

Highlightable object, allows the object to be highlighted and have a pulse effect.

Member Function Documentation

◆ HighlightObject()

void HighlightableObject.HighlightObject ( Color color)
inline

Highlights the object with the given color.

Parameters
colorThe color to highlight the object with.

◆ HighlightObjectPulse()

IEnumerator HighlightableObject.HighlightObjectPulse ( Color targetColor,
float duration )
inline

Pulses the object to the given color over the given duration, then returns to the base color.

Parameters
targetColorThe color to pulse the object to.
durationThe duration of the pulse.

The documentation for this class was generated from the following file: