Skip to content

FogVolumeDensityComponent

Class in Engine · Engine.FogVolumeDensityComponent · native, abstract, editinlinenew

Object › Component › ActorComponent › FogVolumeDensityComponent

Subclasses: FogVolumeConeDensityComponent, FogVolumeConstantDensityComponent, FogVolumeLinearHalfspaceDensityComponent, FogVolumeSphericalDensityComponent

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

Properties

NameTypeNotes
ApproxFogLightColorLinearColor
bAffectsTranslucencybool
bEnabledboolconst
bOnlyAffectsTranslucencybool
DefaultFogVolumeMaterialMaterialInterface
FogMaterialMaterialInterface
FogVolumeActorsarray<Actor>
MaxDistancefloat
SimpleLightColorLinearColor
StartDistancefloat

Functions

NameDeclaration
SetEnabledfinal native function SetEnabled(bool bSetEnabled)

Default values

DefaultFogVolumeMaterial=Material'EngineMaterials.FogVolumeMaterial'
bEnabled=TRUE
bAffectsTranslucency=TRUE
bOnlyAffectsTranslucency=FALSE
SimpleLightColor=(R=0.5,G=0.5,B=0.7,A=1.0)
ApproxFogLightColor=(R=0.5,G=0.5,B=0.7,A=1.0)
StartDistance=0.0
MaxDistance=65535.0

Inherited

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