UDecalComponent

Inheritance Hierarchy

Syntax

class UDecalComponent : public USceneComponent

Remarks

A material that is rendered onto the surface of a mesh. A kind of 'bumper sticker' for a model.

Variables

Name Description

Public variable

FDeferredDecalP ...

 

SceneProxy

The decal proxy.

Protected variable

FTimerHandle

 

TimerHandle_DestroyDecalComponent

Handle for efficient management of DestroyDecalComponent timer

Functions

Name Description

Public function Virtual

FDeferredDec ...

 

CreateSceneProxy()

Public function Virtual

UMaterialInt ...

 

GetMaterial

(
    int32 ElementIndex
)

Public function Virtual

int32

 

GetNumMaterials()

Public function

FTransform

 

GetTransformIncludingDecalSize()

Public function Virtual

void

 

GetUsedMaterials

(
    TArray < UMaterialInterface * > ...
)

Retrieves the materials used in this component

Protected function

void

 

LifeSpanCallback()

Called when the life span of the decal has been exceeded

Public function

void

 

PushSelectionToProxy()

Pushes new selection state to the render thread primitive proxy

Public function

void

 

SetLifeSpan

(
    const float LifeSpan
)

Public function Virtual

void

 

SetMaterial

(
    int32 ElementIndex,
    UMaterialInterface * InMaterial
)

Overridden from USceneComponent

Name Description

Public function Virtual

FBoxSphereBo ...

 

CalcBounds

(
    const FTransform & LocalToWorld
)

Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size.

Overridden from UActorComponent

Name Description

Public function Virtual

const UObjec ...

 

AdditionalStatObject()

Give a readable name for this component, including asset name if applicable

Public function Virtual

void

 

BeginPlay()

BeginsPlay for the component.

Public function Virtual

void

 

CreateRenderState_Concurrent()

Used to create any rendering thread information for this component

Public function Virtual

void

 

DestroyRenderState_Concurrent()

Used to shut down any rendering thread structure for this component

Public function Virtual

void

 

SendRenderTransform_Concurrent()

Called to send a transform update for this component to the rendering thread

Overridden from UObject

Name Description

Public function Virtual

void

 

Serialize

(
    FArchive & Ar
)

UObject serializer.

See Also

References

Module

Engine

Header

Runtime/Engine/Classes/Components/DecalComponent.h