Properties
Methods
ClearCaches
#This method will be called when it is suspected that all caches have gone stale. If your graph class uses any custom caching, override this method and clear your caches.
void ClearCaches()
Draw_PostRenderGraph
#Override this function if you want to draw something on top of the Graph curve.
void Draw_PostRenderGraph()
g,
Graphics object to draw with
cnt
The container that owns this graph instance and is responsible for the drawing.
Draw_PostRenderGrid
#Override this function if you want to draw something on top of the Graph Grid.
void Draw_PostRenderGrid()
g,
Graphics object to draw with
cnt
The container that owns this graph instance and is responsible for the drawing.
Draw_PostRenderGrip
#Override this function if you want to draw something on top of the current Grip
void Draw_PostRenderGrip()
g,
Graphics object to draw with
cnt,
The container that owns this graph instance and is responsible for the drawing.
index
The index of the grip that was just drawn
Draw_PostRenderTags
#Override this function if you want to draw something on top of the Domain tags. This function is called whether or not cnt.LockGrips is true
void Draw_PostRenderTags()
g,
Graphics object to draw with
cnt
The container that owns this graph instance and is responsible for the drawing.
Draw_PreRenderGraph
#Override this function if you want to draw something behind of or instead of the default Graph curve
GH_GraphDrawInstruction Draw_PreRenderGraph()
g,
Graphics object to draw with
cnt
The container that owns this graph instance and is responsible for the drawing.
Returns: If the return code is GH_GraphDrawInstruction.skip, the container will not draw the default Graph curve.
Draw_PreRenderGrid
#Override this function if you want to draw something behind of or instead of the default Grid.
GH_GraphDrawInstruction Draw_PreRenderGrid()
g,
Graphics object to draw with
cnt
The container that owns this graph instance and is responsible for the drawing.
Returns: If the return code is GH_GraphDrawInstruction.skip, the container will not draw the default grid.
Draw_PreRenderGrip
#Override this function if you want to draw something in addition to or instead of the current Grip
GH_GraphDrawInstruction Draw_PreRenderGrip()
g,
Graphics object to draw with
cnt,
The container that owns this graph instance and is responsible for the drawing.
index
The index of the grip that is about to be drawn
Returns: If the return code is GH_GraphDrawInstruction.skip, the container will not draw the default grid.
Draw_PreRenderTags
#Override this function if you want to draw something behind of or instead of the default Domain tags. This function is called whether or not cnt.LockGrips is true
GH_GraphDrawInstruction Draw_PreRenderTags()
g,
Graphics object to draw with
cnt
The container that owns this graph instance and is responsible for the drawing.
Returns: If the return code is GH_GraphDrawInstruction.skip, the container will not draw the default tags.
EmitProxyObject
#Override this function if you want to be able to edit the graph through a PropertyGrid.
GDI_GraphPath
#Override this function if you wish to provide a customized graphics path for the UI of the graph. The region is only provided as a reference, the returned path points should be in unit domain coordinates.
PrepareForUse
#This method is called when a Graph is about to be displayed/used, maybe for the first time ever, maybe not.
void PrepareForUse()
Read
This method is called whenever the instance is required to deserialize itself.
Returns: True on success, false on failure.
ValueAt
#Evaluates a single parameter in the unit range
Write
This method is called whenever the instance is required to serialize itself.
Returns: True on success, false on failure.