Renders a graph editor
More...
|
| plyGraphEditor (plyGraphManager asset, EditorWindow ed, List< string > allowedGraphSystemIdentifiers, Color gridBackColor, Color gridMinorCol, Color gridMajorCol, Color miniMapCol, Texture2D logoIcon, string helpUrl) |
|
void | SetAsset (plyGraphManager asset) |
|
void | OnDestroy () |
| Call this when editor window is destroyed More...
|
|
void | OnFocus (EditorWindow ed, plyGraphManager asset) |
| Call this when editor window receives focus More...
|
|
void | OnLostFocus (EditorWindow ed) |
| Call this when editor window looses focus More...
|
|
void | Update (EditorWindow ed) |
| Call this when editor window updates More...
|
|
void | RenderGraphMenu (EditorWindow ed, int width, GUIContent[] extraIcons, BasicCallback[] extraCallbacks) |
| Call this where the graphs menu panel should render in the layout. Give it at least 220 pixel width to render in. extraIcons will be placed next to the normal list icons in the list toolbar. If one of them are clicked the associated extraCallback will be call. Simply pass null if you do not want to use these. More...
|
|
void | RenderGraphGUI (EditorWindow ed) |
| Call this where the main graph panel should render in the layout More...
|
|
void | SaveGraph () |
| Call this to force saving of the graph. Not normally needed except in special cases, for example when the node inspector could not immediately return with the appropriate value to indicate that the node data has changed. More...
|
|
void | Repaint () |
|
|
plyGraphEditorWrapper | graphEd = null |
|
void plyCommonEditor.plyGraphEditor.OnDestroy |
( |
| ) |
|
Call this when editor window is destroyed
void plyCommonEditor.plyGraphEditor.OnFocus |
( |
EditorWindow |
ed, |
|
|
plyGraphManager |
asset |
|
) |
| |
Call this when editor window receives focus
static void plyCommonEditor.plyGraphEditor.OnFocusGraphAssetSettings |
( |
EditorWindow |
ed | ) |
|
|
static |
Call this from the focus event of your settings editor window that will display the graph settings.
void plyCommonEditor.plyGraphEditor.OnLostFocus |
( |
EditorWindow |
ed | ) |
|
Call this when editor window looses focus
static void plyCommonEditor.plyGraphEditor.RenderGraphAssetSettings |
( |
plyGraphManager |
asset, |
|
|
EditorWindow |
ed, |
|
|
string |
metaDataTitle, |
|
|
string |
hlpUrl |
|
) |
| |
|
static |
Call this when/ where you want to renders the settings for a plyGraph asset in the editor layout
void plyCommonEditor.plyGraphEditor.RenderGraphGUI |
( |
EditorWindow |
ed | ) |
|
Call this where the main graph panel should render in the layout
void plyCommonEditor.plyGraphEditor.RenderGraphMenu |
( |
EditorWindow |
ed, |
|
|
int |
width, |
|
|
GUIContent[] |
extraIcons, |
|
|
BasicCallback[] |
extraCallbacks |
|
) |
| |
Call this where the graphs menu panel should render in the layout. Give it at least 220 pixel width to render in. extraIcons will be placed next to the normal list icons in the list toolbar. If one of them are clicked the associated extraCallback will be call. Simply pass null if you do not want to use these.
void plyCommonEditor.plyGraphEditor.SaveGraph |
( |
| ) |
|
Call this to force saving of the graph. Not normally needed except in special cases, for example when the node inspector could not immediately return with the appropriate value to indicate that the node data has changed.
void plyCommonEditor.plyGraphEditor.Update |
( |
EditorWindow |
ed | ) |
|
Call this when editor window updates