API ReferenceEditor
public class Editor.GraphicsView : Editor.Widget
Constructors
Showing 1 constructors
public GraphicsView(Editor.Widget parent = null)
Parameters
parent: Default: null
No results match this filter.
Methods
Showing 15 methods
public bool Capture(string path)
public void CenterOn(Vector2 center)
public void DeleteAllItems()
public void FitInView(Sandbox.Rect rect)
public Editor.GraphicsItem GetItemAt(Vector2 scenePosition)
public void Translate(Vector2 delta)
public void Zoom(float adjust, Vector2 viewpos)
No results match this filter.
Properties
Showing 17 properties
public bool Editor.GraphicsView.Antialiasing { get; set; }
public bool Editor.GraphicsView.BilinearFiltering { get; set; }
public Vector2 Editor.GraphicsView.Center { get; set; }
Where in the scene is the view currently centered.
public Editor.GraphicsView.DragTypes Editor.GraphicsView.DragType { get; set; }
What happens when the user drags the mouse. You generally want to toggle this in OnMouseDown to switch what happens with different mouse buttons.
public Editor.ScrollbarMode Editor.GraphicsView.HorizontalScrollbar { get; set; }
public System.Collections.Generic.IEnumerable`1<Editor.GraphicsItem> Editor.GraphicsView.Items { get; set; }
public float Editor.GraphicsView.MaxZoom { get; set; }
public float Editor.GraphicsView.MinZoom { get; set; }
public System.Action Editor.GraphicsView.OnSelectionChanged { get; set; }
public float Editor.GraphicsView.Rotation { get; set; }
public Vector2 Editor.GraphicsView.Scale { get; set; }
public Sandbox.Rect Editor.GraphicsView.SceneRect { get; set; }
public System.Collections.Generic.IEnumerable`1<Editor.GraphicsItem> Editor.GraphicsView.SelectedItems { get; set; }
public Sandbox.Rect Editor.GraphicsView.SelectionRect { get; set; }
All items inside this rect will be selected
public bool Editor.GraphicsView.TextAntialiasing { get; set; }
public Editor.GraphicsView.ViewportAnchorType Editor.GraphicsView.TransformAnchor { get; set; }
public Editor.ScrollbarMode Editor.GraphicsView.VerticalScrollbar { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Editor |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.GraphicsView |