Synced
AssetReferenceDropTarget
Section titled “AssetReferenceDropTarget”
- Borrows an asset property’s type and assignment callback for one synchronous drop request.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Editor.Panel.Inspector
Declaration
Section titled “Declaration”public sealed class Inno.Editor.Panel.Inspector.AssetReferenceDropTargetRemarks
Section titled “Remarks”Recreate this target for each presentation request. Its type and callback must not be retained across frames or extension generations, or included in History or persistent state.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | AssetReferenceDropTarget.Constructor | Creates a drop target that validates an asset type and assigns its persistent identity to a property. |
| Methods | AssetReferenceDropTarget.Assign | Assigns a persistent asset identity to the represented property. |
| Properties | AssetReferenceDropTarget.expectedType | Gets the required asset type. |