/** * Movable version of SpotLight. * * Copyright 1998-2013 Epic Games, Inc. All Rights Reserved. */ class SpotLightMovable extends SpotLight native(Light) ClassGroup(Lights,SpotLights) placeable; cpptext { public: /** * This will determine which icon should be displayed for this light. **/ virtual void DetermineAndSetEditorIcon(); /** * Returns true if the light supports being toggled off and on on-the-fly * * @return For 'toggleable' lights, returns true **/ virtual UBOOL IsToggleable() const { // SpotLightMovable supports being toggled on the fly! return TRUE; } } defaultproperties { // Visual things should be ticked in parallel with physics TickGroup=TG_DuringAsyncWork Begin Object Name=Sprite Sprite=Texture2D'EditorResources.LightIcons.Light_Spot_Moveable_DynamicsAndStatics' End Object // Light component. Begin Object Name=SpotLightComponent0 LightAffectsClassification=LAC_DYNAMIC_AND_STATIC_AFFECTING CastShadows=TRUE CastStaticShadows=TRUE CastDynamicShadows=TRUE bForceDynamicLight=FALSE UseDirectLightMap=FALSE `if(`__TW_LIGHTING_MODIFICATIONS_) // Custom lighting channel implementation LightingChannels=(Indoor=TRUE,Outdoor=TRUE,bInitialized=TRUE) `else LightingChannels=(BSP=TRUE,Static=TRUE,Dynamic=TRUE,bInitialized=TRUE) `endif End Object bMovable=TRUE bStatic=FALSE bHardAttach=TRUE }