C# Класс VisualPOVRAY.Light

Наследование: PovObj
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
fadeDist float
loc Point3
shadows System.Boolean
type String

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Light ( Point3 loc, Point3 color, float fadeDist, float fadePower, System.Boolean shadows, System.Boolean interaction, System.Boolean atmosphere, String type = " " ) : System

Описание методов

ToString() публичный Метод

public ToString ( ) : string
Результат string

areaLight() публичный статический Метод

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
Результат Light

cylindricalLight() публичный статический Метод

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
Результат Light

move() публичный Метод

public move ( Point3 loc ) : void
loc Point3
Результат void

parallelLight() публичный статический Метод

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
Результат Light

pointLight() публичный статический Метод

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
Результат Light

render() публичный Метод

public render ( ) : List
Результат List

spotLight() публичный статический Метод

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
Результат Light

update() публичный Метод

public update ( float time ) : void
time float
Результат void

Описание свойств

fadeDist публичное свойство

public float fadeDist
Результат float

loc публичное свойство

public Point3,VisualPOVRAY loc
Результат Point3

shadows публичное свойство

public Boolean,System shadows
Результат System.Boolean

type публичное свойство

public String type
Результат String