Synced
EngineObjectReferenceDropTarget
Section titled “EngineObjectReferenceDropTarget”
- Borrows an object property’s type and assignment callback for one synchronous drop request.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: object
Project: Inno.Editor.Panel.Inspector
Scope: Editor
Declaration
Section titled “Declaration”public sealed class InnoEditor.Inspection.EngineObjectReferenceDropTargetRemarks
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 | EngineObjectReferenceDropTarget.Constructor | Creates a drop target that validates and assigns an engine object to a serialized property. |
| Methods | EngineObjectReferenceDropTarget.Assign | Assigns an accepted engine object to the represented property. |
| Properties | EngineObjectReferenceDropTarget.expectedType | Gets the required engine object type. |