Navigation
API > API/Plugins > API/Plugins/SurfaceEffects
A system for handling various surface enums based on contexts
| Name | USurfaceEffectsSubsystem |
| Type | class |
| Header File | /Engine/Plugins/Experimental/SurfaceEffects/Source/SurfaceEffects/Public/SurfaceEffectsSubsystem.h |
| Include Path | #include "SurfaceEffectsSubsystem.h" |
Syntax
UCLASS (MinimalAPI)
class USurfaceEffectsSubsystem : public UGameInstanceSubsystem
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USubsystem → UGameInstanceSubsystem → USurfaceEffectsSubsystem
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SurfaceEffectsData | TObjectPtr< UDataTable > | We store the UEnum name as the row name in a data table to get the rule associated with that surface enum | SurfaceEffectsSubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSurfaceEffectResult< TEnum > GetSurface
(
const FSurfaceEffectContextBase& Context |
SurfaceEffectsSubsystem.h | ||
virtual void Initialize
(
FSubsystemCollectionBase& Collection |
SurfaceEffectsSubsystem.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsEnabled() |
SurfaceEffectsSubsystem.h |