Enfusion Script API
Loading...
Searching...
No Matches
GraphGraphicsItem Interface Reference
Inheritance diagram for GraphGraphicsItem:
pointer

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 ()
 

Member Function Documentation

◆ GetLocalPosition()

proto external vector GraphGraphicsItem.GetLocalPosition ( )

Get position of this item, not taking into account parent positions.

◆ GetPosition()

proto external vector GraphGraphicsItem.GetPosition ( )

Get scene position of this item, taking into account parent positions.

◆ SetLocalPosition()

proto external void GraphGraphicsItem.SetLocalPosition ( vector scenePosition)

Set scene position of this item, not taking into account parent positions.

◆ ToConnection()

proto external GraphNodeConnectionBase GraphGraphicsItem.ToConnection ( )

Cast GraphGraphicsItem to GraphNodeConnectionBase, returns null in case it is not a GraphNodeConnectionBase.

◆ ToGraphNode()

proto external GraphNode GraphGraphicsItem.ToGraphNode ( )

Cast GraphGraphicsItem to ScriptedGraphNode, returns null in case it is not a ScriptedGraphNode.

◆ ToPort()

proto external GraphNodePortBase GraphGraphicsItem.ToPort ( )

Cast GraphGraphicsItem to GraphNodeConnectionBase, returns null in case it is not a GraphNodeConnectionBase.


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