C# Class OpenTkEngine.Core.Lighting

ファイルを表示 Open project: jikoriko/OpentkEngine

Public Methods

Method Description
ApplyLightMatrix ( Matrix4 world ) : void
DisableLighting ( ) : void
EnableLighting ( ) : void
GetLight ( int index ) : Light
GetLightDirection ( int light ) : Vector3
GetLightPosition ( int light ) : Vector3
InitLights ( ) : void
NumLights ( ) : int
SetLightDirection ( int light, Vector3 direction ) : void
SetLightPosition ( int light, Vector3 position ) : void
SetLightSwitch ( int light, bool state ) : void

Method Details

ApplyLightMatrix() public static method

public static ApplyLightMatrix ( Matrix4 world ) : void
world Matrix4
return void

DisableLighting() public static method

public static DisableLighting ( ) : void
return void

EnableLighting() public static method

public static EnableLighting ( ) : void
return void

GetLight() public static method

public static GetLight ( int index ) : Light
index int
return Light

GetLightDirection() public static method

public static GetLightDirection ( int light ) : Vector3
light int
return Vector3

GetLightPosition() public static method

public static GetLightPosition ( int light ) : Vector3
light int
return Vector3

InitLights() public static method

public static InitLights ( ) : void
return void

NumLights() public static method

public static NumLights ( ) : int
return int

SetLightDirection() public static method

public static SetLightDirection ( int light, Vector3 direction ) : void
light int
direction Vector3
return void

SetLightPosition() public static method

public static SetLightPosition ( int light, Vector3 position ) : void
light int
position Vector3
return void

SetLightSwitch() public static method

public static SetLightSwitch ( int light, bool state ) : void
light int
state bool
return void