| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/DecalComponent.h |
Include |
#include "Components/DecalComponent.h" |
class UDecalComponent : public USceneComponent
A material that is rendered onto the surface of a mesh. A kind of 'bumper sticker' for a model.
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bDestroyOwnerAfterFade |
Automatically destroys the owning actor after fully fading out. |
|
DecalMaterial |
Decal material. |
|
|
DecalSize |
Decal size in local space (does not include the component scale), technically redundant but there for convenience |
|
|
float |
FadeDuration |
Time in seconds for the decal to fade out. |
|
float |
FadeInDuration |
|
|
float |
FadeInStartDelay |
|
|
float |
FadeScreenSize |
|
|
float |
FadeStartDelay |
Time in seconds to wait before beginning to fade out the decal. |
|
SceneProxy |
The decal proxy. |
|
|
SortOrder |
Controls the order in which decal elements are rendered. |
|
|
TimerHandle_DestroyDecalComponent |
Handle for efficient management of DestroyDecalComponent timer |
Name | Description | |
---|---|---|
|
UDecalComponent ( |
Name | Description | ||
---|---|---|---|
|
UMaterialIns... |
CreateDynamicMaterialInstance() |
Utility to allocate a new Dynamic Material Instance, set its parent to the currently applied material, and assign it |
|
FDeferredDec... |
CreateSceneProxy() |
|
|
UMaterialInt... |
GetDecalMaterial() |
Accessor for decal material |
|
float |
GetFadeDuration() |
|
|
float |
GetFadeInDuration() |
|
|
float |
GetFadeInStartDelay() |
|
|
float |
GetFadeStartDelay() |
|
|
UMaterialInt... |
GetMaterial ( |
|
|
GetNumMaterials() |
||
|
GetTransformIncludingDecalSize() |
||
|
GetUsedMaterials ( |
Retrieves the materials used in this component |
|
|
LifeSpanCallback() |
Called when the life span of the decal has been exceeded |
|
|
PushSelectionToProxy() |
Pushes new selection state to the render thread primitive proxy |
|
|
SetDecalMaterial ( |
Setting decal material on decal component. This will force the decal to reattach |
|
|
SetFadeIn ( |
||
|
SetFadeOut ( |
Sets the decal's fade start time, duration and if the owning actor should be destroyed after the decal is fully faded out. |
|
|
SetFadeScreenSize ( |
Set the FadeScreenSize for this decal component |
|
|
SetLifeSpan ( |
||
|
SetMaterial ( |
||
|
SetSortOrder ( |
Sets the sort order for the decal component. |
Name | Description | ||
---|---|---|---|
|
FBoxSphereBo... |
CalcBounds ( |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
Name | Description | ||
---|---|---|---|
|
const UObjec... |
AdditionalStatObject() |
Give a readable name for this component, including asset name if applicable |
|
BeginPlay() |
Begins Play for the component. |
|
|
CreateRenderState_Concurrent ( |
Used to create any rendering thread information for this component |
|
|
DestroyRenderState_Concurrent() |
Used to shut down any rendering thread structure for this component |
|
|
SendRenderTransform_Concurrent() |
Called to send a transform update for this component to the rendering thread |