I'm a doctor, not a mechanic

UE3:FogVolumeDensityComponent (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:24, 17 January 2010 by (Talk)

Jump to: navigation, search
UDK Object >> Component >> ActorComponent >> FogVolumeDensityComponent
Package: 
Engine
Direct subclasses:
FogVolumeConeDensityComponent, FogVolumeConstantDensityComponent, FogVolumeLinearHalfspaceDensityComponent, FogVolumeSphericalDensityComponent
This class in other games:
UT3


Properties

Property group 'FogVolumeDensityComponent'

ApproxFogLightColor

Type: Object.LinearColor

Modifiers: interp

Color used to approximate fog material color on transparency. Important: Set this color to match the overall color of the fog material, otherwise transparency will not be fogged correctly.

Default value:

Member Value
A 1.0
B 0.7
G 0.5
R 0.5

bAffectsTranslucency

Type: bool

Controls whether the fog volume affects intersecting translucency. If FALSE, the fog volume will sort normally with translucency and not fog intersecting translucent objects.

Default value: True

bEnabled

Type: bool

Modifiers: const

True if the fog is enabled.

Default value: True

FogMaterial

Type: MaterialInterface

Fog Material to use on the AutomaticComponent. This will not be used on FogVolumeActors, they will use their existing materials.

FogVolumeActors

Type: array<Actor>

Optional array of actors that will define the shape of the fog volume. These actors will not be moved along with the fog volume, and they can be selected directly.

SimpleLightColor

Type: Object.LinearColor

Modifiers: interp

Sets the 'EmissiveColor' Vector Parameter of FogMaterial. This will have no effect if FogMaterial has been overridden with a material that does not have a 'EmissiveColor' parameter.

Default value:

Member Value
A 1.0
B 0.7
G 0.5
R 0.5

StartDistance

Type: float

Modifiers: interp

Distance from the camera that the fog should start, in world units.

Internal variables

DefaultFogVolumeMaterial

Type: MaterialInterface


Default value: Material'EngineMaterials.FogVolumeMaterial'

Native functions

SetEnabled

final native function SetEnabled (bool bSetEnabled)

Changes the enabled state of the height fog component.

Parameters:

  • bSetEnabled - The new value for bEnabled.