Agrarsense
|
#include <ActorAssetGroupDataAsset.h>
Public Member Functions | |
bool | HasMultipleVariations () |
bool | HasDefaultVariation () |
FActorAssetVariation | GetDefaultVariation (bool &FoundVariation) |
FActorAssetVariation | FindVariationByUniqueIdentifier (const FString &UniqueIdentifierToFind, bool &FoundVariation) |
UActorAssetGroupDataAsset () | |
Public Attributes | |
FString | UniqueIdentifier |
FText | VariationText = NSLOCTEXT("Agrarsense", "Variation_Size", "Size") |
FText | DisplayName |
TObjectPtr< UTexture2D > | GroupTexture |
FString | DefaultVariation |
TArray< FActorAssetVariation > | Variations |
Definition at line 19 of file ActorAssetGroupDataAsset.h.
|
inline |
Definition at line 112 of file ActorAssetGroupDataAsset.h.
|
inline |
Find variation from the variations list by unique identifier key.
UniqueIdentifier | Variation's unique identifier |
FoundVariation | Was the variation found from the list |
Definition at line 97 of file ActorAssetGroupDataAsset.h.
|
inline |
Get the default variation if one is found
FoundVariation | Was the variation found |
Definition at line 85 of file ActorAssetGroupDataAsset.h.
|
inline |
Has a default variation set = not empty (does not quarantee that variation with default variation's id actually exists in the list)
Definition at line 74 of file ActorAssetGroupDataAsset.h.
|
inline |
Has more than one variation
Definition at line 64 of file ActorAssetGroupDataAsset.h.
FString UActorAssetGroupDataAsset::DefaultVariation |
Unique identifier of the variation that should be selected as default
Definition at line 51 of file ActorAssetGroupDataAsset.h.
FText UActorAssetGroupDataAsset::DisplayName |
Name of the group. E.g. "Birch" or "Stone"
Definition at line 39 of file ActorAssetGroupDataAsset.h.
TObjectPtr<UTexture2D> UActorAssetGroupDataAsset::GroupTexture |
Group's icon. E.g. if multiple sizes of birch, this could be icon of the the middle sized one.
Definition at line 45 of file ActorAssetGroupDataAsset.h.
FString UActorAssetGroupDataAsset::UniqueIdentifier |
Unique identifier to use for find/compare operations
Definition at line 28 of file ActorAssetGroupDataAsset.h.
TArray<FActorAssetVariation> UActorAssetGroupDataAsset::Variations |
Variation assets
Definition at line 57 of file ActorAssetGroupDataAsset.h.
FText UActorAssetGroupDataAsset::VariationText = NSLOCTEXT("Agrarsense", "Variation_Size", "Size") |
Text to show on UI for hint to select different variation. E.g. "size" or "type" or "variation" depending on what actually changes between the variations.
Definition at line 33 of file ActorAssetGroupDataAsset.h.