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

Engine.DominantSpotLight


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
/**
 * Dominant version of SpotLight that generates static shadowmaps.
 *
 * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.
 */
class DominantSpotLight extends SpotLight
	native(Light)
	ClassGroup(Lights,SpotLights)
	placeable;

cpptext
{
	/**
	 * Returns true if the light supports being toggled off and on on-the-fly
	 **/
	virtual UBOOL IsToggleable() const
	{
		return TRUE;
	}
}

defaultproperties
{
	Begin Object Name=Sprite
		Sprite=Texture2D'EditorResources.LightIcons.Light_Spot_Toggleable_Statics'
	End Object

	// Light component.
	Begin Object Class=DominantSpotLightComponent Name=DominantSpotLightComponent0
	    LightAffectsClassification=LAC_DYNAMIC_AND_STATIC_AFFECTING
	    CastShadows=TRUE
	    CastStaticShadows=TRUE
	    CastDynamicShadows=TRUE
	    bForceDynamicLight=FALSE
	    UseDirectLightMap=FALSE
        bAllowPreShadow=TRUE
	    LightingChannels=(BSP=TRUE,Static=TRUE,Dynamic=TRUE,bInitialized=TRUE)
        PreviewLightRadius=DrawLightRadius0
		PreviewInnerCone=DrawInnerCone0
		PreviewOuterCone=DrawOuterCone0
		PreviewLightSourceRadius=DrawLightSourceRadius0
	End Object
    Components.Remove(SpotLightComponent0)
    LightComponent=DominantSpotLightComponent0
	Components.Add(DominantSpotLightComponent0)

	bMovable=FALSE
	bStatic=FALSE
	bHardAttach=TRUE
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: to 6-1-2011 07:10:38.000 - Creation time: ti 22-3-2011 19:57:05.339 - Created with UnCodeX