Navigation
API > API/Runtime > API/Runtime/Engine
DecalActor contains a DecalComponent which can be used to render material modifications on top of existing geometry.
| Name | ADecalActor |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/DecalActor.h |
| Include Path | #include "Engine/DecalActor.h" |
Syntax
UCLASS (HideCategories=(Collision, Attachment, Actor, Input, Replication),
ShowCategories=("Input|MouseInput", "Input|TouchInput"), ComponentWrapperClass, MinimalAPI)
class ADecalActor : public AActor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → ADecalActor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ADecalActor
(
const FObjectInitializer& ObjectInitializer |
Engine/DecalActor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ArrowComponent | TObjectPtr< UArrowComponent > | Reference to the editor only arrow visualization component | Engine/DecalActor.h | |
| Decal | TObjectPtr< UDecalComponent > | The decal component for this decal actor | Engine/DecalActor.h |
|
| SpriteComponent | TObjectPtr< UBillboardComponent > | Reference to the billboard component | Engine/DecalActor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UMaterialInstanceDynamic * CreateDynamicMaterialInstance() |
Engine/DecalActor.h |
|
|
UArrowComponent * GetArrowComponent() |
Returns ArrowComponent subobject | Engine/DecalActor.h | |
UDecalComponent * GetDecal() |
Returns Decal subobject | Engine/DecalActor.h | |
UMaterialInterface * GetDecalMaterial() |
Engine/DecalActor.h |
|
|
UBillboardComponent * GetSpriteComponent() |
Returns SpriteComponent subobject | Engine/DecalActor.h | |
void SetDecalMaterial
(
UMaterialInterface* NewDecalMaterial |
BEGIN DEPRECATED (use component functions now in level script) | Engine/DecalActor.h |
|
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EditorApplyScale
(
const FVector& DeltaScale, |
Called by ApplyDeltaToActor to perform an actor class-specific operation based on widget manipulation. | Engine/DecalActor.h | |
| Used by the "Sync to Content Browser" right-click menu option in the editor. | Engine/DecalActor.h | ||
virtual void PostEditMove
(
bool bFinished |
Called after an actor has been moved in the editor | Engine/DecalActor.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Engine/DecalActor.h | ||
virtual void PostLoad() |
Engine/DecalActor.h | ||
virtual void Serialize
(
FArchive& Ar |
Engine/DecalActor.h |