Enfusion Script API
Loading...
Searching...
No Matches
GraphNodeView Interface Reference
Inheritance diagram for GraphNodeView:
Managed

Public Member Functions

void GraphNodeView (GraphNodeScene scene)
 
proto external float GetZoom ()
 
proto external float SetZoom (float zoom)
 Scale view matrix, returns new zoom.
 
proto external bool IsRectangleInView (vector scenePos, vector sceneSize)
 Check if rectangle is in view of the view matrix, position and size should be in scene space.
 
proto external void Translate (vector sceneTranslate)
 Translate view matrix.
 
proto external float ZoomAt (vector zoomScenePosition, float zoom)
 Scale view matrix, returns new zoom.
 
proto external vector ScenePosToPixels (vector scenePos)
 Takes into account view, convert from scene space to pixel space.
 
proto external vector SceneSizeToPixels (vector sceneSize)
 Takes into account view, convert from scene space to pixel space.
 
proto external vector PosPixelsToScene (vector pixelPos)
 Takes into account view, convert from pixel space to scene space.
 
proto external vector SizePixelsToScene (vector pixelPos)
 Takes into account view, convert from pixel space to scene space.
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Constructor & Destructor Documentation

◆ GraphNodeView()

void GraphNodeView.GraphNodeView ( GraphNodeScene scene)

Member Function Documentation

◆ GetZoom()

proto external float GraphNodeView.GetZoom ( )

◆ IsRectangleInView()

proto external bool GraphNodeView.IsRectangleInView ( vector scenePos,
vector sceneSize )

Check if rectangle is in view of the view matrix, position and size should be in scene space.

◆ PosPixelsToScene()

proto external vector GraphNodeView.PosPixelsToScene ( vector pixelPos)

Takes into account view, convert from pixel space to scene space.

◆ ScenePosToPixels()

proto external vector GraphNodeView.ScenePosToPixels ( vector scenePos)

Takes into account view, convert from scene space to pixel space.

◆ SceneSizeToPixels()

proto external vector GraphNodeView.SceneSizeToPixels ( vector sceneSize)

Takes into account view, convert from scene space to pixel space.

◆ SetZoom()

proto external float GraphNodeView.SetZoom ( float zoom)

Scale view matrix, returns new zoom.

◆ SizePixelsToScene()

proto external vector GraphNodeView.SizePixelsToScene ( vector pixelPos)

Takes into account view, convert from pixel space to scene space.

◆ Translate()

proto external void GraphNodeView.Translate ( vector sceneTranslate)

Translate view matrix.

◆ ZoomAt()

proto external float GraphNodeView.ZoomAt ( vector zoomScenePosition,
float zoom )

Scale view matrix, returns new zoom.


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