BlackICE Scripting

class ent

LightComponent

ent.LightComponent

  • 50 properties
  • 8 functions
  • 3 derived classes

Extends ent.IVisualComponent ent.IPlacedComponent ent.IComponent IScriptable ISerializable

Properties

PropertyTypeOffset
typeELightType0x158
colorColor0x140
radiusfloat0x148
unitELightUnit0x14C
intensityfloat0x150
EVfloat0x154
temperaturefloat0x144
sceneDiffusebool0x163
sceneSpecularScalebyte0x15E
directionalbool0x164
roughnessBiassbyte0x160
scaleGIbyte0x15C
scaleEnvProbesbyte0x15D
useInTransparentsbool0x161
scaleVolFogbyte0x15F
useInParticlesbool0x162
attenuationrend.LightAttenuation0x169
clampAttenuationbool0x165
grouprend.LightGroup0x168
areaShapeEAreaLightShape0x1B8
areaTwoSidedbool0x1BC
spotCapsulebool0x1BD
sourceRadiusfloat0x1C0
capsuleLengthfloat0x1C4
areaRectSideAfloat0x1C8
areaRectSideBfloat0x1CC
innerAnglefloat0x1A4
outerAnglefloat0x1A8
softnessfloat0x1B4
enableLocalShadowsbool0x16A
enableLocalShadowsForceStaticsOnlybool0x16B
contactShadowsrend.ContactShadowReciever0x16C
shadowAnglefloat0x1AC
shadowRadiusfloat0x1B0
shadowFadeDistancefloat0x170
shadowFadeRangefloat0x174
shadowSoftnessModeELightShadowSoftnessMode0x178
rayTracedShadowsPlatformrend.RayTracedShadowsPlatform0x17C
rayTracingLightSourceRadiusfloat0x180
rayTracingContactShadowRangefloat0x184
flickerrend.SLightFlickering0x188
envColorGroupEEnvColorGroup0x194
colorGroupSaturationbyte0x195
portalAngleCutoffbyte0x196
allowDistantLightbool0x197
rayTracingIntensityScalefloat0x19C
pathTracingLightUsagerend.EPathTracingLightUsage0x198
pathTracingOverrideScaleGIbool0x199
rtxdiShadowStartingDistancefloat0x1A0
isEnabledbool0x8B

Functions

  • void SetTemperature(float temperature) RTTI
  • void SetColor(Color color) RTTI
  • void SetRadius(float radius) RTTI
  • void SetIntensity(float intensity) RTTI
  • void SetFlickerParams(float strength, float period, float offset) RTTI
  • bool OnForceFlicker(FlickerEvent evt) RTTI
  • bool OnToggleLight(ToggleLightEvent evt) RTTI
  • bool OnToggleLightByName(ToggleLightByNameEvent evt) RTTI