s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Editor Classes
DragData
chevron_left
Editor Classes
class
DragData
search
Constructors
functions
DragData
Properties
data_object
Assets
data_object
FileOrFolder
data_object
Files
data_object
HasFileOrFolder
data_object
Html
data_object
Object
data_object
Text
data_object
Url
Methods
functions
OfType
DragData
Contains drag and drop data for tool widgets. See Editor.Widget.DragEvent.
class
Editor
.
account_tree
extends
QObject
Sandbox.Tools
build
Constructors
1
DragData
(
)
data_object
Properties
8
Assets
IReadOnlyList`1
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.
FileOrFolder
string
The first file or folder in the drag data.
Files
String[]
All files and folders in the drag data.
HasFileOrFolder
bool
Whether the drag data has at least 1 file or folder.
Html
string
HTML data of the drag and drop event, if any.
Object
object
An object that can be used to pass drag and drop data
Text
string
Text data of the drag and drop event.
Url
Uri
URL data of the drag and drop event, if any.
functions
Methods
1
OfType
(
)
IEnumerable`1
Helper for finding instances of type
in Editor.DragData.Object. Will find matches if Editor.DragData.Object is of type
, is an System.Collections.IEnumerable with
items, or a Sandbox.SerializedObject with
targets.
Inheritance
QObject
DragData
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.