Graph Maker
WMG_Raycaster Class Reference

Class used in place of GraphicsRaycaster for generating UI mouse events that work with non-squares (using alpha pixel values of textures). More...

Inheritance diagram for WMG_Raycaster:

Public Member Functions

override void Raycast (PointerEventData eventData, List< RaycastResult > resultAppendList)
 

Public Attributes

float AlphaThreshold = .9f
 

Protected Member Functions

override void OnEnable ()
 

Detailed Description

Class used in place of GraphicsRaycaster for generating UI mouse events that work with non-squares (using alpha pixel values of textures).

Member Function Documentation

◆ OnEnable()

override void WMG_Raycaster.OnEnable ( )
protected

◆ Raycast()

override void WMG_Raycaster.Raycast ( PointerEventData  eventData,
List< RaycastResult >  resultAppendList 
)

Member Data Documentation

◆ AlphaThreshold

float WMG_Raycaster.AlphaThreshold = .9f

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