This is an example of how to highlight an object on hover / activate. This is used in the Demo scene in conjunction with the "PointerEvents" component.
More...
This is an example of how to highlight an object on hover / activate. This is used in the Demo scene in conjunction with the "PointerEvents" component.
◆ ResetHovering()
void BNG.DemoCube.ResetHovering |
( |
PointerEventData |
eventData | ) |
|
◆ SetActive()
void BNG.DemoCube.SetActive |
( |
PointerEventData |
eventData | ) |
|
◆ SetHovering()
void BNG.DemoCube.SetHovering |
( |
PointerEventData |
eventData | ) |
|
◆ SetInactive()
void BNG.DemoCube.SetInactive |
( |
PointerEventData |
eventData | ) |
|
◆ UpdateMaterial()
void BNG.DemoCube.UpdateMaterial |
( |
| ) |
|
◆ ActiveMaterial
Material BNG.DemoCube.ActiveMaterial |
◆ HighlightMaterial
Material BNG.DemoCube.HighlightMaterial |
The documentation for this class was generated from the following file:
- C:/Projects/VR-Interaction-Framework/Assets/BNG Framework/Scenes/XR Demo/DemoCube.cs