VR Interaction Framework v2.0
Loading...
Searching...
No Matches
BNG.DemoCube Class Reference

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...

Inheritance diagram for BNG.DemoCube:

Public Member Functions

void SetActive (PointerEventData eventData)
 
void SetInactive (PointerEventData eventData)
 
void SetHovering (PointerEventData eventData)
 
void ResetHovering (PointerEventData eventData)
 
void UpdateMaterial ()
 

Public Attributes

Material HighlightMaterial
 
Material ActiveMaterial
 

Detailed Description

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.

Member Function Documentation

◆ 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 ( )

Member Data Documentation

◆ ActiveMaterial

Material BNG.DemoCube.ActiveMaterial

◆ HighlightMaterial

Material BNG.DemoCube.HighlightMaterial

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