Tanoda
Leap.Unity.GraphicalRenderer.LeapGraphicEditorBase< T > Class Template Reference
Inheritance diagram for Leap.Unity.GraphicalRenderer.LeapGraphicEditorBase< T >:
Leap.Unity.CustomEditorBase< T >

Public Member Functions

override void OnInspectorGUI ()
 
- Public Member Functions inherited from Leap.Unity.CustomEditorBase< T >
override void OnInspectorGUI ()
 

Protected Member Functions

override void OnEnable ()
 
void drawScriptAndGroupGui (LeapGraphicGroup mainGroup)
 
void drawFeatureData (LeapGraphicGroup sharedGroup)
 
bool HasFrameBounds ()
 
Bounds OnGetFrameBounds ()
 
- Protected Member Functions inherited from Leap.Unity.CustomEditorBase< T >
override void OnEnable ()
 
void dontShowScriptField ()
 
void specifyCustomDrawer (string propertyName, Action< SerializedProperty > propertyDrawer)
 Specify a callback to be used to draw a specific named property. Should be called in OnEnable. More...
 
void specifyCustomDecorator (string propertyName, Action< SerializedProperty > decoratorDrawer)
 Specify a callback to be used to draw a decorator for a specific named property. Should be called in OnEnable. More...
 
void specifyCustomPostDecorator (string propertyName, Action< SerializedProperty > decoratorDrawer)
 Specify a callback to be used to draw a decorator AFTER a specific named property. More...
 
void specifyConditionalDrawing (string conditionalName, params string[] dependantProperties)
 Specify a list of properties that should only be displayed if the conditional property has a value of true. Should be called in OnEnable. More...
 
void specifyConditionalDrawing (string enumName, int enumValue, params string[] dependantProperties)
 
void hideField (string propertyName)
 
void specifyConditionalDrawing (Func< bool > conditional, params string[] dependantProperties)
 
void deferProperty (string propertyName)
 Defer rendering of a property until the end of the inspector. Deferred properties are drawn in the REVERSE order they are deferred! NOT by the order they appear in the serialized object! More...
 
void addPropertyToFoldout (string propertyName, string foldoutName, bool foldoutStartOpen=false)
 Condition the drawing of a property based on the status of a foldout drop-down. More...
 
bool isInFoldout (string propertyName)
 Check whether a property is inside of a foldout drop-down. More...
 
void drawScriptField (bool disable=true)
 
virtual void OnEnable ()
 
bool validateProperty (string propertyName)
 

Properties

static LeapGraphicFeatureBase currentFeature [get]
 

Additional Inherited Members

- Protected Attributes inherited from Leap.Unity.CustomEditorBase< T >
new T target
 
new T[] targets
 
Dictionary< string, Action< SerializedProperty > > _specifiedDrawers
 
Dictionary< string, List< Action< SerializedProperty > > > _specifiedDecorators
 
Dictionary< string, List< Action< SerializedProperty > > > _specifiedPostDecorators
 
Dictionary< string, List< Func< bool > > > _conditionalProperties
 
Dictionary< string, List< string > > _foldoutProperties
 
Dictionary< string, bool > _foldoutStates
 
List< string > _deferredProperties
 
bool _showScriptField = true
 
List< SerializedProperty > _modifiedProperties = new List<SerializedProperty>()
 

Detailed Description

Type Constraints
T :LeapGraphic 

Definition at line 20 of file LeapGraphicEditor.cs.

Member Function Documentation

◆ drawFeatureData()

void Leap.Unity.GraphicalRenderer.LeapGraphicEditorBase< T >.drawFeatureData ( LeapGraphicGroup  sharedGroup)
protected

Definition at line 159 of file LeapGraphicEditor.cs.

◆ drawScriptAndGroupGui()

void Leap.Unity.GraphicalRenderer.LeapGraphicEditorBase< T >.drawScriptAndGroupGui ( LeapGraphicGroup  mainGroup)
protected

Definition at line 64 of file LeapGraphicEditor.cs.

◆ HasFrameBounds()

bool Leap.Unity.GraphicalRenderer.LeapGraphicEditorBase< T >.HasFrameBounds ( )
protected

Definition at line 224 of file LeapGraphicEditor.cs.

◆ OnEnable()

override void Leap.Unity.GraphicalRenderer.LeapGraphicEditorBase< T >.OnEnable ( )
protectedvirtual

Reimplemented from Leap.Unity.CustomEditorBase< T >.

Definition at line 27 of file LeapGraphicEditor.cs.

◆ OnGetFrameBounds()

Bounds Leap.Unity.GraphicalRenderer.LeapGraphicEditorBase< T >.OnGetFrameBounds ( )
protected

Definition at line 229 of file LeapGraphicEditor.cs.

◆ OnInspectorGUI()

override void Leap.Unity.GraphicalRenderer.LeapGraphicEditorBase< T >.OnInspectorGUI ( )

Definition at line 43 of file LeapGraphicEditor.cs.

Property Documentation

◆ currentFeature

Definition at line 22 of file LeapGraphicEditor.cs.


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