|
Enfusion Script API
|
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) | |
| void GraphNodeView.GraphNodeView | ( | GraphNodeScene | scene | ) |
| proto external float GraphNodeView.GetZoom | ( | ) |
Check if rectangle is in view of the view matrix, position and size should be in scene space.
Takes into account view, convert from pixel space to scene space.
Takes into account view, convert from scene space to pixel space.
Takes into account view, convert from scene space to pixel space.
Takes into account view, convert from pixel space to scene space.
| proto external void GraphNodeView.Translate | ( | vector | sceneTranslate | ) |
Translate view matrix.
Scale view matrix, returns new zoom.