Class CeresGraphEditorExtensions
public static class CeresGraphEditorExtensions
- Inheritance
-
CeresGraphEditorExtensions
- Inherited Members
Methods
ApplyOffsetToGraph(CeresGraph, Vector2)
Apply offset to all graph elements (nodes and node groups)
public static void ApplyOffsetToGraph(this CeresGraph graph, Vector2 offset)
Parameters
graphCeresGraphoffsetVector2
CalculatePasteOffset(CeresGraph, Vector2)
Calculate paste offset based on graph centroid and target mouse position
public static Vector2 CalculatePasteOffset(this CeresGraph graph, Vector2 targetMousePosition)
Parameters
graphCeresGraphtargetMousePositionVector2