Tanoda
UnityEngine.UI.Extensions.NonDrawingGraphic Class Reference
Inheritance diagram for UnityEngine.UI.Extensions.NonDrawingGraphic:

Public Member Functions

override void SetMaterialDirty ()
 
override void SetVerticesDirty ()
 

Protected Member Functions

override void OnPopulateMesh (VertexHelper vh)
 Probably not necessary since the chain of calls Rebuild()->UpdateGeometry()->DoMeshGeneration()->OnPopulateMesh() won't happen; so here really just as a fail-safe. More...
 

Detailed Description

A concrete subclass of the Unity UI Graphic class that just skips drawing. Useful for providing a raycast target without actually drawing anything.

Definition at line 9 of file NonDrawingGraphic.cs.

Member Function Documentation

◆ OnPopulateMesh()

override void UnityEngine.UI.Extensions.NonDrawingGraphic.OnPopulateMesh ( VertexHelper  vh)
protected

Probably not necessary since the chain of calls Rebuild()->UpdateGeometry()->DoMeshGeneration()->OnPopulateMesh() won't happen; so here really just as a fail-safe.

Definition at line 15 of file NonDrawingGraphic.cs.

◆ SetMaterialDirty()

override void UnityEngine.UI.Extensions.NonDrawingGraphic.SetMaterialDirty ( )

Definition at line 11 of file NonDrawingGraphic.cs.

◆ SetVerticesDirty()

override void UnityEngine.UI.Extensions.NonDrawingGraphic.SetVerticesDirty ( )

Definition at line 12 of file NonDrawingGraphic.cs.


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