public class Editor.DragData : Editor.QObject
Contains drag and drop data for tool widgets. See `Editor.Widget.DragEvent`.
Constructors
Showing 1 constructors
public DragData()
No results match this filter.
Methods
Showing 2 methods
No results match this filter.
Properties
Showing 8 properties
public System.Collections.Generic.IReadOnlyList`1<Editor.DragAssetData> Editor.DragData.Assets { get; set; }
Interprets `Editor.DragData.Text` as a list of asset paths or cloud asset URLs, getting a list of helper objects to access each asset. Generated and cached internally on first access after `Editor.DragData.Text` changes.
public string Editor.DragData.FileOrFolder { get; set; }
The first file or folder in the drag data.
public string[] Editor.DragData.Files { get; set; }
All files and folders in the drag data.
public bool Editor.DragData.HasFileOrFolder { get; set; }
Whether the drag data has at least 1 file or folder.
public string Editor.DragData.Html { get; set; }
HTML data of the drag and drop event, if any.
public object Editor.DragData.Object { get; set; }
An object that can be used to pass drag and drop data
public string Editor.DragData.Text { get; set; }
Text data of the drag and drop event.
public System.Uri Editor.DragData.Url { get; set; }
URL data of the drag and drop event, if any.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Editor |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.DragData |