UGameFeatureData

Data related to a game feature, a collection of code and content that adds a separable discrete feature to the game

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GameFeatures

Header

/Engine/Plugins/Experimental/GameFeatures/Source/GameFeatures/Public/GameFeatureData.h

Include

#include "GameFeatureData.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UGameFeatureData : public UPrimaryDataAsset

Remarks

Data related to a game feature, a collection of code and content that adds a separable discrete feature to the game

Variables

Name Description

Protected variable UProperty Category, EditDefaultsOnly instanced

TArray< UGameFe...

 

Actions

List of actions to perform as this game feature is loaded/activated/deactivated/unloaded

Protected variable UProperty Category, EditAnywhere, Meta

TArray< FPrimar...

 

PrimaryAssetTypesToScan

List of asset types to scan at startup

Functions

Name Description

Public function Const

const TArray...

 

GetActions()

Public function Const

const TArray...

 

GetPrimaryAssetTypesToScan()

Method to get where the primary assets should scanned from in the plugin hierarchy

Public function Const

void

 

InitializeBasePluginIniFile

(
    const FString& PluginInstalledFile...
)

Method to process the base ini file for the plugin during loading

Public function Const

void

 

InitializeHierarchicalPluginIniFiles

(
    const FString& PluginInstalledFile...
)

Method to process ini files for the plugin during activation

Overridden from UPrimaryDataAsset

Name Description

Public function Virtual

void

 

UpdateAssetBundleData()

This scans the class for AssetBundles metadata on asset properties and initializes the AssetBundleData with InitializeAssetBundlesFromMetadata

Overridden from UObject

Name Description

Public function Virtual

EDataValidat...

 

IsDataValid

(
    TArray< FText >& ValidationErrors
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss