C# Class Axiom.SceneManagers.Bsp.TextureLight

Summary description for TextureLight.
Inheritance: Axiom.Core.Light
Show file Open project: mono-soc-2011/axiom Class Usage Examples

Protected Properties

Property Type Description
creator BspSceneManager
intensity LightIntensity
isTextureLight bool
priority int
textureColor Axiom.Core.ColorEx

Private Properties

Property Type Description

Public Methods

Method Description
AffectsFaceGroup ( Axiom.Graphics.StaticFaceGroup faceGroup, ManualCullingMode cullMode ) : bool
CalculateTexCoordsAndColors ( Plane plane, Vector3 vertices, Vector2 &texCoors, ColorEx &colors ) : bool
CreateTexture ( ) : Axiom.Core.Texture
TextureLight ( BspSceneManager creator ) : System

Default constructor.

TextureLight ( string name, BspSceneManager creator ) : System

Normal constructor. Should not be called directly, but rather the SceneManager.CreateLight method should be used.

Update ( ) : void

Protected Methods

Method Description
CalculateForDirectionalLight ( Plane plane, Vector3 vertices, Vector2 &texCoors, ColorEx &colors ) : bool
CalculateForPointLight ( Plane plane, Vector3 vertices, Vector2 &texCoors, ColorEx &colors ) : bool
CalculateForSpotLight ( Plane plane, Vector3 vertices, Vector2 &texCoors, ColorEx &colors ) : bool

Method Details

AffectsFaceGroup() public method

public AffectsFaceGroup ( Axiom.Graphics.StaticFaceGroup faceGroup, ManualCullingMode cullMode ) : bool
faceGroup Axiom.Graphics.StaticFaceGroup
cullMode ManualCullingMode
return bool

CalculateForDirectionalLight() protected method

protected CalculateForDirectionalLight ( Plane plane, Vector3 vertices, Vector2 &texCoors, ColorEx &colors ) : bool
plane Axiom.Math.Plane
vertices Vector3
texCoors Vector2
colors Axiom.Core.ColorEx
return bool

CalculateForPointLight() protected method

protected CalculateForPointLight ( Plane plane, Vector3 vertices, Vector2 &texCoors, ColorEx &colors ) : bool
plane Axiom.Math.Plane
vertices Vector3
texCoors Vector2
colors Axiom.Core.ColorEx
return bool

CalculateForSpotLight() protected method

protected CalculateForSpotLight ( Plane plane, Vector3 vertices, Vector2 &texCoors, ColorEx &colors ) : bool
plane Axiom.Math.Plane
vertices Vector3
texCoors Vector2
colors Axiom.Core.ColorEx
return bool

CalculateTexCoordsAndColors() public method

public CalculateTexCoordsAndColors ( Plane plane, Vector3 vertices, Vector2 &texCoors, ColorEx &colors ) : bool
plane Axiom.Math.Plane
vertices Vector3
texCoors Vector2
colors Axiom.Core.ColorEx
return bool

CreateTexture() public static method

public static CreateTexture ( ) : Axiom.Core.Texture
return Axiom.Core.Texture

TextureLight() public method

Default constructor.
public TextureLight ( BspSceneManager creator ) : System
creator BspSceneManager
return System

TextureLight() public method

Normal constructor. Should not be called directly, but rather the SceneManager.CreateLight method should be used.
public TextureLight ( string name, BspSceneManager creator ) : System
name string
creator BspSceneManager
return System

Update() public method

public Update ( ) : void
return void

Property Details

creator protected property

protected BspSceneManager,Axiom.SceneManagers.Bsp creator
return BspSceneManager

intensity protected property

protected LightIntensity intensity
return LightIntensity

isTextureLight protected property

protected bool isTextureLight
return bool

priority protected property

protected int priority
return int

textureColor protected property

protected ColorEx,Axiom.Core textureColor
return Axiom.Core.ColorEx