|
Enfusion Script API
|
Public Member Functions | |
| proto external vector | GetLocalPosition () |
| Get position of this item, not taking into account parent positions. | |
| proto external vector | GetPosition () |
| Get scene position of this item, taking into account parent positions. | |
| proto external void | SetLocalPosition (vector scenePosition) |
| Set scene position of this item, not taking into account parent positions. | |
| proto external GraphNode | ToGraphNode () |
| Cast GraphGraphicsItem to ScriptedGraphNode, returns null in case it is not a ScriptedGraphNode. | |
| proto external GraphNodeConnectionBase | ToConnection () |
| Cast GraphGraphicsItem to GraphNodeConnectionBase, returns null in case it is not a GraphNodeConnectionBase. | |
| proto external GraphNodePortBase | ToPort () |
| Cast GraphGraphicsItem to GraphNodeConnectionBase, returns null in case it is not a GraphNodeConnectionBase. | |
Public Member Functions inherited from pointer | |
| proto string | ToString () |
| proto external vector GraphGraphicsItem.GetLocalPosition | ( | ) |
Get position of this item, not taking into account parent positions.
| proto external vector GraphGraphicsItem.GetPosition | ( | ) |
Get scene position of this item, taking into account parent positions.
| proto external void GraphGraphicsItem.SetLocalPosition | ( | vector | scenePosition | ) |
Set scene position of this item, not taking into account parent positions.
| proto external GraphNodeConnectionBase GraphGraphicsItem.ToConnection | ( | ) |
Cast GraphGraphicsItem to GraphNodeConnectionBase, returns null in case it is not a GraphNodeConnectionBase.
| proto external GraphNode GraphGraphicsItem.ToGraphNode | ( | ) |
Cast GraphGraphicsItem to ScriptedGraphNode, returns null in case it is not a ScriptedGraphNode.
| proto external GraphNodePortBase GraphGraphicsItem.ToPort | ( | ) |
Cast GraphGraphicsItem to GraphNodeConnectionBase, returns null in case it is not a GraphNodeConnectionBase.