|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
This class is the base drag drop operation for UMG, extend it to add additional data and add new functionality. More...
Static Public Member Functions | |
Static Functions | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UObject | |
| static UClass | StaticClass () |
Public Attributes | |
Variables | |
| FOnDragDropMulticast | OnDragCancelled |
| FOnDragDropMulticast | OnDragged |
| FOnDragDropMulticast | OnDrop |
| Public Attributes inherited from UObject | |
| const UClass | Class |
| const UObject | Outer |
| const UPackage | Outermost |
| const UPackage | Package |
| const UWorld | World |
| const FName | Name |
| const bool | IsRooted |
Drag and Drop | |
| UObject | Payload |
| The payload of the drag operation. This can be any UObject that you want to pass along as dragged data. If you were building an inventory screen this would be the UObject representing the item being moved to another slot. | |
| UWidget | DefaultDragVisual |
| The Drag Visual is the widget to display when dragging the item. Normally people create a new widget to represent the temporary drag. | |
| EDragPivot | Pivot |
| Controls where the drag widget visual will appear when dragged relative to the pointer performing the drag operation. | |
| FVector2D | Offset |
| A percentage offset (-1..+1) from the Pivot location, the percentage is of the desired size of the dragged visual. | |
| FString | Tag |
| A simple string tag you can optionally use to provide extra metadata about the operation. | |
| void | Dragged (FPointerEvent PointerEvent) |
| void | Drop (FPointerEvent PointerEvent) |
| void | DragCancelled (FPointerEvent PointerEvent) |
Additional Inherited Members | |
| Public Member Functions inherited from UObject | |
| bool | MarkPackageDirty () const |
| void | RemoveFromRoot () |
| bool | GetIsRooted () const |
| bool | IsTransient () const |
| bool | Modify (bool bAlwaysMarkDirty=true) |
| void | SetTransactional (bool bTransactional) |
| bool | IsSupportedForNetworking () const |
| UClass | GetClass () const |
| UObject | GetOuter () const |
| UObject | GetTypedOuter (TSubclassOf< UObject > Target) const |
| Traverses the outer chain searching for the next object of a certain type. | |
| UPackage | GetOutermost () const |
| UPackage | GetPackage () const |
| void | AddToRoot () |
| UWorld | GetWorld () const |
| FName | GetName () const |
| FString | GetFullName (const UObject StopOuter=nullptr) const |
| FString | GetPathName (const UObject StopOuter=nullptr) const |
| bool | IsA (const UClass Class) const |
| Returns true if this object is of the specified type, or a child of that type. | |
| void | SaveConfig () |
| void | LoadConfig () |
| void | ReloadConfig () |
| void | CopyScriptPropertiesFrom (const UObject OtherObject) |
| void | opCast (?&Address) const |
| FString | ToString () const |
This class is the base drag drop operation for UMG, extend it to add additional data and add new functionality.
| void DragCancelled | ( | FPointerEvent | PointerEvent | ) |
| void Dragged | ( | FPointerEvent | PointerEvent | ) |
| void Drop | ( | FPointerEvent | PointerEvent | ) |
|
static |
| UWidget DefaultDragVisual |
The Drag Visual is the widget to display when dragging the item. Normally people create a new widget to represent the temporary drag.
| FVector2D Offset |
A percentage offset (-1..+1) from the Pivot location, the percentage is of the desired size of the dragged visual.
| FOnDragDropMulticast OnDragCancelled |
| FOnDragDropMulticast OnDragged |
| FOnDragDropMulticast OnDrop |
| UObject Payload |
| EDragPivot Pivot |
Controls where the drag widget visual will appear when dragged relative to the pointer performing the drag operation.
| FString Tag |
A simple string tag you can optionally use to provide extra metadata about the operation.