Skip to content

DecalComponent

Class in Engine · Engine.DecalComponent · native, editinlinenew

Object › Component › ActorComponent › PrimitiveComponent › DecalComponent

Subclasses: H7CombatMapGridDecalComponent, H7LandscapeFilteredDecalComponent

Using it from Lua
h7.find_all("DecalComponent")            -- live instances
h7.find_class("Engine.DecalComponent")   -- the class
h7.hook("Engine.DecalComponent.GetDecalMaterial", fn)

Enums

EDecalTransform

DecalTransform_OwnerAbsolute = 0, DecalTransform_OwnerRelative = 1, DecalTransform_SpawnRelative = 2

EFilterMode

FM_None = 0, FM_Ignore = 1, FM_Affect = 2

Structs

DecalReceiver

FieldType
ComponentPrimitiveComponent
RenderDatapointer

Properties

NameTypeNotes
BackfaceAnglefloat
bDecalMaterialSetAtRunTimebool
bFlipBackfaceDirectionbool
bHasBeenAttachedbooltransient, private
BlendRangeVector2D
bMovableDecalbool
bNoClipbool
bProjectOnBackfacesbool
bProjectOnBSPbool
bProjectOnHiddenbool
bProjectOnSkeletalMeshesbool
bProjectOnStaticMeshesbool
bProjectOnTerrainbool
bStaticDecalboolconst
DecalMaterialMaterialInterfaceconst, private
DecalReceiversarray<DecalReceiver>const, private
DecalRotationfloat
DecalTransformEDecalTransformconst
DepthBiasfloat
FarPlanefloat
FieldOfViewfloat
Filterarray<Actor>
FilterModeEFilterMode
FracturedStaticMeshComponentIndexinttransient
Heightfloat
HitBinormalvector
HitBonenametransient
HitComponentPrimitiveComponenttransient
HitLevelIndexinttransient
HitLocationvector
HitNodeIndexinttransient
HitNodeIndicesarrayconst, transient, private
HitNormalvector
HitTangentvector
Locationvectortransient
NearPlanefloat
OffsetXfloat
OffsetYfloat
Orientationrotatortransient
ParentRelativeLocationvector
ParentRelativeOrientationrotator
ParentRelLocRotMatrixmatrixconst, transient, private
Planesarray<Plane>transient, private
ReceiverImagesarray<PrimitiveComponent>
ReleaseResourcesFencepointerconst, transient, native
SlopeScaleDepthBiasfloat
SortOrderint
StaticReceiversarrayconst, transient, native, private
StreamingDistanceMultiplierfloatconst
TileXfloat
TileYfloat
Widthfloat

Functions

NameDeclaration
GetDecalMaterialfinal native function MaterialInterface GetDecalMaterial()
IsWaitingForResetToDefaultsToCompletefinal native function bool IsWaitingForResetToDefaultsToComplete()
ResetToDefaultsfinal native function ResetToDefaults()
SetDecalMaterialfinal native function SetDecalMaterial(MaterialInterface NewDecalMaterial)

Default values

bAcceptsLights=FALSE
bAcceptsDynamicLights=FALSE
bCastDynamicShadow=FALSE
bAcceptsStaticDecals=FALSE
bAcceptsDynamicDecals=FALSE
bMovableDecal=FALSE
Width=200
Height=200
TileX=1
TileY=1
NearPlane=0
FarPlane=300
FieldOfView=80
HitNodeIndex=-1
HitLevelIndex=-1
DepthBias=-0.00006
SlopeScaleDepthBias=0.0
BackfaceAngle=0.001
bProjectOnBSP=TRUE
bProjectOnSkeletalMeshes=TRUE
bProjectOnStaticMeshes=TRUE
bProjectOnTerrain=TRUE
BlendRange=(X=89.5,Y=180)
StreamingDistanceMultiplier=1.0
DecalTransform=DecalTransform_SpawnRelative

Inherited

FromMembers
PrimitiveComponent107 properties, 46 functions
ActorComponent7 properties, 4 functions
Component2 properties, 0 functions
Object13 properties, 308 functions