Engine
Class Brush

source: C:\XIII\Engine\Classes\Brush.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Brush
Direct Known Subclasses:Volume

class Brush
extends Engine.Actor

//============================================================================= // The brush class. // This is a built-in Unreal class and it shouldn't be modified. //=============================================================================
Variables
 color BrushColor
 enum ECsgOper
 Mover LinkedMover
 Mover LinkedMover2
 scale MainScale
 int PolyFlags
 vector PostPivot
 scale PostScale
 scale TempScale
 Object UnusedLightMesh
 bool bColored


Source Code


00001	//=============================================================================
00002	// The brush class.
00003	// This is a built-in Unreal class and it shouldn't be modified.
00004	//=============================================================================
00005	class Brush extends Actor
00006		native;
00007	
00008	//-----------------------------------------------------------------------------
00009	// Variables.
00010	
00011	// CSG operation performed in editor.
00012	var() enum ECsgOper
00013	{
00014		CSG_Active,			// Active brush.
00015		CSG_Add,			// Add to world.
00016		CSG_Subtract,		// Subtract from world.
00017		CSG_Intersect,		// Form from intersection with world.
00018		CSG_Deintersect,	// Form from negative intersection with world.
00019	} CsgOper;
00020	
00021	// Outdated.
00022	var const object UnusedLightMesh;
00023	var vector  PostPivot;
00024	
00025	// Scaling.
00026	// Outdated : these are only here to allow the "ucc mapconvert" commandlet to work.
00027	//            They are NOT used by the engine/editor for anything else.
00028	var scale MainScale;
00029	var scale PostScale;
00030	var scale TempScale;
00031	
00032	// Information.
00033	var() color BrushColor;
00034	var() int	PolyFlags;
00035	var() bool  bColored;
00036	var() Mover	LinkedMover;
00037	var() Mover	LinkedMover2;
00038	
00039	defaultproperties
00040	{
00041	     MainScale=(Scale=(X=1.000000,Y=1.000000,Z=1.000000))
00042	     PostScale=(Scale=(X=1.000000,Y=1.000000,Z=1.000000))
00043	     TempScale=(Scale=(X=1.000000,Y=1.000000,Z=1.000000))
00044	     bStatic=True
00045	     bHidden=True
00046	     bNoDelete=True
00047	     bInteractive=False
00048	     bFixedRotationDir=True
00049	     DrawType=DT_Brush
00050	     bEdShouldSnap=True
00051	}

End Source Code