## Engine
Class ShadowProjector

source: C:\XIII\Engine\Classes\ShadowProjector.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Projector
             |
             +--Engine.ShadowProjector

Direct Known Subclasses:None

class ShadowProjector
extends Engine.Projector

    //
    //	ShadowProjector
    //

Variables
`vector` | `LightDirection`
`int` | `ShadowIntensity` 0=invisible 255=black
`FinalBlend` | `ShadowMaterial`
`float` | `ShadowMaxDist` 0=invisible 255=black
`float` | `ShadowScale` 0=invisible 255=black
`ShadowBitmapMaterial` | `ShadowTexture`
`float` | `ShadowTransDist` 0=invisible 255=black
`int` | `UpdateCount` 0=invisible 255=black
`bool` | `bShadowIsStatic` 0=invisible 255=black

Source Code

    00001	//
    00002	//	ShadowProjector
    00003	//
    00004
    00005	class ShadowProjector extends Projector
    00006		native;
    00007
    00008	var vector					LightDirection;
    00009	var ShadowBitmapMaterial	ShadowTexture;
    00010	var FinalBlend				ShadowMaterial;
    00011	var int						ShadowIntensity;   // 0=invisible   255=black
    00012	var int						UpdateCount;
    00013	var float					ShadowScale;
    00014	var float					ShadowMaxDist;
    00015	var float					ShadowTransDist;
    00016	var bool					bShadowIsStatic;
    00017
    00018	//
    00019	//	PostBeginPlay
    00020	//
    00021
    00022	simulated event PostBeginPlay()
    00023	{
    00024		super.PostBeginPlay();
    00025
    00026		ShadowTexture = new(None) class'ShadowBitmapMaterial';
    00027		ShadowTexture.ShadowActor = Owner;
    00028
    00029		ShadowMaterial = new(None) class'FinalBlend';
    00030		ShadowMaterial.FrameBufferBlending = FB_Darken;
    00031		ShadowMaterial.Material = ShadowTexture;
    00032
    00033		ProjTexture = ShadowMaterial;
    00034
    00035		SetCollision(false,false,false);
    00036	}
    00037
    00038	//
    00039	//	Default properties
    00040	//
    00041
    00042	defaultproperties
    00043	{
    00044	     ShadowIntensity=196
    00045	     ShadowScale=1.000000
    00046	     ShadowMaxDist=1500.000000
    00047	     ShadowTransDist=1000.000000
    00048	     MaxTraceDistance=250
    00049	     bProjectActor=False
    00050	     bClipBSP=True
    00051	     bFade=True
    00052	     bProjectOnAlpha=True
    00053	     bProjectOnParallelBSP=True
    00054	     AttachPriority=20
    00055	}

End Source Code