Navigation
API > API/Runtime > API/Runtime/Engine
| Name | ULayer |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Layers/Layer.h |
| Include Path | #include "Layers/Layer.h" |
Syntax
UCLASS (MinimalAPI)
class ULayer : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → ULayer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULayer
(
const FObjectInitializer& ObjectInitializer |
Layers/Layer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorStats | TArray< FLayerActorStats > | Basic stats regarding the number of Actors and their types currently assigned to the Layer | Layers/Layer.h |
|
| bIsVisible | uint32 | Whether actors associated with the layer are visible in the viewport | Layers/Layer.h | |
| LayerName | FName | The display name of the layer | Layers/Layer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddToStats
(
AActor* Actor |
Layers/Layer.h | ||
void ClearActorStats() |
Layers/Layer.h | ||
const TArray< FLayerActorStats > & GetActorStats() |
Layers/Layer.h | ||
FName GetLayerName() |
Layers/Layer.h | ||
bool IsVisible() |
Layers/Layer.h | ||
bool RemoveFromStats
(
AActor* Actor |
Layers/Layer.h | ||
void SetLayerName
(
FName InName |
Layers/Layer.h | ||
void SetVisible
(
bool bIsVisible |
Layers/Layer.h |