C# Class VisualPOVRAY.Light

Inheritance: PovObj
Show file Open project: TheAwesomePossum/VisualPOVray Class Usage Examples

Public Properties

Property Type Description
fadeDist float
loc Point3
shadows System.Boolean
type String

Public Methods

Method Description
ToString ( ) : string
areaLight ( Point3 loc, Point3 vector1, Point3 vector2, int widthLight, int heightLight, Point3 color = null, float fadeDist = 0.0f, float fadePower = 0.0f, System.Boolean shadows = true, System.Boolean interaction = true, System.Boolean atmosphere = false ) : Light
cylindricalLight ( Point3 loc, Point3 color = null, float fadeDist = 0.0f, float fadePower = 0.0f, System.Boolean shadows = true, System.Boolean interaction = true, System.Boolean atmosphere = false ) : Light
move ( Point3 loc ) : void
parallelLight ( Point3 loc, Point3 color = null, float fadeDist = 0.0f, float fadePower = 0.0f, System.Boolean shadows = true, System.Boolean interaction = true, System.Boolean atmosphere = false ) : Light
pointLight ( Point3 loc, Point3 color = null, float fadeDist = 0.0f, float fadePower = 0.0f, System.Boolean shadows = true, System.Boolean interaction = true, System.Boolean atmosphere = false ) : Light
render ( ) : List
spotLight ( Point3 loc, float radius = 0f, float falloff = 0f, float tightness = 0f, Point3 pointAt = null, Point3 color = null, float fadeDist = 0.0f, float fadePower = 0.0f, System.Boolean shadows = true, System.Boolean interaction = true, System.Boolean atmosphere = false ) : Light
update ( float time ) : void

Private Methods

Method Description
Light ( Point3 loc, Point3 color, float fadeDist, float fadePower, System.Boolean shadows, System.Boolean interaction, System.Boolean atmosphere, String type = " " ) : System

Method Details

ToString() public method

public ToString ( ) : string
return string

areaLight() public static method

public static areaLight ( Point3 loc, Point3 vector1, Point3 vector2, int widthLight, int heightLight, Point3 color = null, float fadeDist = 0.0f, float fadePower = 0.0f, System.Boolean shadows = true, System.Boolean interaction = true, System.Boolean atmosphere = false ) : Light
loc Point3
vector1 Point3
vector2 Point3
widthLight int
heightLight int
color Point3
fadeDist float
fadePower float
shadows System.Boolean
interaction System.Boolean
atmosphere System.Boolean
return Light

cylindricalLight() public static method

public static cylindricalLight ( Point3 loc, Point3 color = null, float fadeDist = 0.0f, float fadePower = 0.0f, System.Boolean shadows = true, System.Boolean interaction = true, System.Boolean atmosphere = false ) : Light
loc Point3
color Point3
fadeDist float
fadePower float
shadows System.Boolean
interaction System.Boolean
atmosphere System.Boolean
return Light

move() public method

public move ( Point3 loc ) : void
loc Point3
return void

parallelLight() public static method

public static parallelLight ( Point3 loc, Point3 color = null, float fadeDist = 0.0f, float fadePower = 0.0f, System.Boolean shadows = true, System.Boolean interaction = true, System.Boolean atmosphere = false ) : Light
loc Point3
color Point3
fadeDist float
fadePower float
shadows System.Boolean
interaction System.Boolean
atmosphere System.Boolean
return Light

pointLight() public static method

public static pointLight ( Point3 loc, Point3 color = null, float fadeDist = 0.0f, float fadePower = 0.0f, System.Boolean shadows = true, System.Boolean interaction = true, System.Boolean atmosphere = false ) : Light
loc Point3
color Point3
fadeDist float
fadePower float
shadows System.Boolean
interaction System.Boolean
atmosphere System.Boolean
return Light

render() public method

public render ( ) : List
return List

spotLight() public static method

public static spotLight ( Point3 loc, float radius = 0f, float falloff = 0f, float tightness = 0f, Point3 pointAt = null, Point3 color = null, float fadeDist = 0.0f, float fadePower = 0.0f, System.Boolean shadows = true, System.Boolean interaction = true, System.Boolean atmosphere = false ) : Light
loc Point3
radius float
falloff float
tightness float
pointAt Point3
color Point3
fadeDist float
fadePower float
shadows System.Boolean
interaction System.Boolean
atmosphere System.Boolean
return Light

update() public method

public update ( float time ) : void
time float
return void

Property Details

fadeDist public property

public float fadeDist
return float

loc public property

public Point3,VisualPOVRAY loc
return Point3

shadows public property

public Boolean,System shadows
return System.Boolean

type public property

public String type
return String