Class UUxtBaseObjectCollection
Base scene component class for object collections
Inheritance
System::Object
USceneComponent
UUxtBaseObjectCollection
Namespace:
Assembly: .dll
Syntax
public: class UUxtBaseObjectCollection
Fields
| Improve this Doc View SourceSortCollection
Declaration
public: FUxtSortScrollingObjectCollectionDelegate SortCollection
Field Value
| Type | Description |
|---|---|
| FUxtSortScrollingObjectCollectionDelegate |
Methods
| Improve this Doc View SourceCollectAttachedActors()
Collect array of actors that are currently attached to the actor that this component is a part of.
Declaration
protected: const TArray<AActor *> & CollectAttachedActors()
Returns
| Type | Description |
|---|---|
| const TArray<AActor *> & |
CompareString(const FString &LHS, const FString &RHS)
Helper function to allow Blueprint class to easily compare a pair of string objects within sort.
Declaration
public: static bool CompareString(const FString &LHS, const FString &RHS)
Parameters
| Type | Name | Description |
|---|---|---|
| const FString & | LHS | |
| const FString & | RHS |
Returns
| Type | Description |
|---|---|
| bool |
CompareText(const FText &LHS, const FText &RHS)
Helper function to allow Blueprint class to easily compare a pair of text objects within sort.
Declaration
public: static bool CompareText(const FText &LHS, const FText &RHS)
Parameters
| Type | Name | Description |
|---|---|---|
| const FText & | LHS | |
| const FText & | RHS |
Returns
| Type | Description |
|---|---|
| bool |
GetAttachedActors()
Get the array of attached actors.
Declaration
protected: const TArray<AActor *> & GetAttachedActors() const
Returns
| Type | Description |
|---|---|
| const TArray<AActor *> & |
SetSortCallback(const FUxtSortScrollingObjectCollectionDelegate &Callback)
Set the the callback function to be used by the sort to compare actor pairs. In order to see results of sorting with the editor it is necessary to enable run in editor in the functions details panel.
Declaration
public: void SetSortCallback(const FUxtSortScrollingObjectCollectionDelegate &Callback)
Parameters
| Type | Name | Description |
|---|---|---|
| const FUxtSortScrollingObjectCollectionDelegate & | Callback |