The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:UTExplosionLight (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 07:40, 23 May 2008 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> Component >> ActorComponent >> LightComponent >> PointLightComponent >> UTExplosionLight
Package: 
UTGame
Direct subclasses:
UTShockComboExplosionLight, UTShockMuzzleFlashLight, UTTankeMinigunMuzzleFlashLight, UTShockImpactLight, UTBioExplosionLight, UTCicadaRocketExplosionLight, UTDarkWalkerMuzzleFlashLight, UTStingerTurretMuzzleFlashLight, UTEnforcerMuzzleFlashLight, UTGreenMuzzleFlashLight, UTHugeExplosionLight, UTLeviathanMuzzleFlashLight, UTLinkGunMuzzleFlashLight, UTVehicleShockComboLight, UTNemesisBeamLight, UTNemesisMuzzleFlashLight, UTRocketExplosionLight, UTRocketLight, UTRocketMuzzleFlashLight, UTStingerMuzzleFlashLight, UTTankMuzzleFlash, UTTankShellExplosionLight, UTTranslocatorLight, UTTranslocatorLightBlue, UTTurretMuzzleFlashLight
This class in other games:
UDK

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

Properties

Property group 'UTExplosionLight'

TimeShift

Type: array<LightValues>


Internal variables

bCheckFrameRate

Type: bool

set false after frame rate dependent properties have been tweaked.

Default value: True

bInitialized

Type: bool

used to initialize light properties from TimeShift on spawn so you don't have to update initial values in two places

HighDetailFrameTime

Type: float

HighDetailFrameTime - if frame rate is above this, force super high detail.

Default value: 0.015

Lifetime

Type: float

Lifetime - how long this explosion has been going

TimeShiftIndex

Type: int

Index into TimeShift array

Default values

Property Value
Brightness 8.0
CastShadows False
LightColor
Member Value
A 255
B 255
G 255
R 255
Radius 256.0

Structs

LightValues

Modifiers: native

float StartTime 
float Radius 
float Brightness 
Object.Color LightColor 

Delegates

OnLightFinished

delegate OnLightFinished (UTExplosionLight Light)

called when the light has burnt out

Native functions

ResetLight

final native function ResetLight ()