Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.FogVolumeDensityComponent

Extends
ActorComponent
Modifiers
native ( FogVolume ) hidecategories ( Object ) abstract editinlinenew

Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Core.Component
   |   
   +-- Engine.ActorComponent
      |   
      +-- Engine.FogVolumeDensityComponent

Direct Known Subclasses:

FogVolumeConeDensityComponent, FogVolumeConstantDensityComponent, FogVolumeLinearHalfspaceDensityComponent, FogVolumeSphericalDensityComponent

Variables Summary
MaterialInterfaceDefaultFogVolumeMaterial
FogVolumeDensityComponent
LinearColorApproxFogLightColor
boolbAffectsTranslucency
boolbEnabled
boolbOnlyAffectsTranslucency
MaterialInterfaceFogMaterial
array<Actor>FogVolumeActors
LinearColorSimpleLightColor
floatStartDistance
Inherited Variables from Engine.ActorComponent
bAttached, bNeedsReattach, bNeedsUpdateTransform, bTickInEditor, Owner, Scene, TickGroup
Inherited Variables from Core.Component
TemplateName, TemplateOwnerClass

Functions Summary
function SetEnabled (bool bSetEnabled)
Inherited Functions from Engine.ActorComponent
DetachFromAny, ForceUpdate, SetComponentRBFixed, SetTickGroup


Variables Detail

DefaultFogVolumeMaterial Source code

var MaterialInterface DefaultFogVolumeMaterial;

FogVolumeDensityComponent

ApproxFogLightColor Source code

var(FogVolumeDensityComponent) interp LinearColor ApproxFogLightColor;
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.

bAffectsTranslucency Source code

var(FogVolumeDensityComponent) bool bAffectsTranslucency;
Controls whether the fog volume affects intersecting translucency. If FALSE, the fog volume will sort normally with translucency and not fog intersecting translucent objects.

bEnabled Source code

var(FogVolumeDensityComponent) const bool bEnabled;
True if the fog is enabled.

bOnlyAffectsTranslucency Source code

var(FogVolumeDensityComponent) bool bOnlyAffectsTranslucency;
Controls whether the fog volume affects opaque pixels, or just intersecting translucency.

FogMaterial Source code

var(FogVolumeDensityComponent) MaterialInterface FogMaterial;
Fog Material to use on the AutomaticComponent. This will not be used on FogVolumeActors, they will use their existing materials.

FogVolumeActors Source code

var(FogVolumeDensityComponent) array<Actor> FogVolumeActors;
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 Source code

var(FogVolumeDensityComponent) interp LinearColor SimpleLightColor;
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.

StartDistance Source code

var(FogVolumeDensityComponent) interp float StartDistance;
Distance from the camera that the fog should start, in world units.


Functions Detail

SetEnabled Source code

final native function SetEnabled ( bool bSetEnabled )
Changes the enabled state of the height fog component.
@param bSetEnabled - The new value for bEnabled.


Defaultproperties

defaultproperties
{
	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
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:56:48.854 - Created with UnCodeX