Skip to content

DecalManager

Class in Engine · Engine.DecalManager · native, config

Object › Actor › DecalManager

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

Structs

ActiveDecalInfo

FieldType
DecalDecalComponent
LifetimeRemainingfloat

Properties

NameTypeNotes
ActiveDecalsarray<ActiveDecalInfo>
DecalBlendRangevector2D
DecalDepthBiasfloat
DecalLifeSpanfloatglobalconfig
DecalTemplateDecalComponentprotected
MaxActiveDecalsint
PoolDecalsarray<DecalComponent>

Functions

NameDeclaration
AreDynamicDecalsEnabledstatic final native function bool AreDynamicDecalsEnabled()
CanSpawnDecalsfunction bool CanSpawnDecals()
DecalFinishedevent DecalFinished(DecalComponent Decal)
GetPooledComponentprotected function DecalComponent GetPooledComponent()
SetDecalParametersstatic final function SetDecalParameters(DecalComponent TheDecal, MaterialInterface DecalMaterial, vector DecalLocation, rotator DecalOrientation, float Width, float Height, float Thickness, bool bNoClip, float DecalRotation, PrimitiveComponent HitComponent, bool bProjectOnTerrain, bool bProjectOnSkeletalMeshes, name HitBone, int HitNodeIndex, int HitLevelIndex, int InFracturedStaticMeshComponentIndex, float DepthBias, vector2D BlendRange)
SpawnDecalfunction DecalComponent SpawnDecal(MaterialInterface DecalMaterial, vector DecalLocation, rotator DecalOrientation, float Width, float Height, float Thickness, bool bNoClip, optional float DecalRotation = (FRand() * 360.0), optional PrimitiveComponent HitComponent, optional bool bProjectOnTerrain = TRUE, optional bool bProjectOnSkeletalMeshes, optional name HitBone, optional int HitNodeIndex = INDEX_NONE, optional int HitLevelIndex = INDEX_NONE, optional float InDecalLifeSpan = DecalLifeSpan, optional int InFracturedStaticMeshComponentIndex = INDEX_NONE, optional float InDepthBias = DecalDepthBias, optional vector2D InBlendRange = DecalBlendRange)

Default values

TickGroup=TG_DuringAsyncWork
DecalTemplate=BaseDecal
DecalDepthBias=-0.00006
DecalBlendRange=(X=89.5,Y=180)

Inherited

FromMembers
Actor156 properties, 262 functions
Object13 properties, 308 functions