Module light

Consts

PARAM_ENERGY = 0'i64
PARAM_INDIRECT_ENERGY = 1'i64
PARAM_SPECULAR = 2'i64
PARAM_RANGE = 3'i64
PARAM_ATTENUATION = 4'i64
PARAM_SPOT_ANGLE = 5'i64
PARAM_SPOT_ATTENUATION = 6'i64
PARAM_CONTACT_SHADOW_SIZE = 7'i64
PARAM_SHADOW_MAX_DISTANCE = 8'i64
PARAM_SHADOW_SPLIT_1_OFFSET = 9'i64
PARAM_SHADOW_SPLIT_2_OFFSET = 10'i64
PARAM_SHADOW_SPLIT_3_OFFSET = 11'i64
PARAM_SHADOW_NORMAL_BIAS = 12'i64
PARAM_SHADOW_BIAS = 13'i64
PARAM_SHADOW_BIAS_SPLIT_SCALE = 14'i64
PARAM_MAX = 15'i64
BAKE_DISABLED = 0'i64
BAKE_INDIRECT = 1'i64
BAKE_ALL = 2'i64

Procs

proc lightColor(self: Light): Color {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightColor=(self: Light; val: Color) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightEnergy(self: Light): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightEnergy=(self: Light; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightIndirectEnergy(self: Light): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightIndirectEnergy=(self: Light; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightNegative(self: Light): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightNegative=(self: Light; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightSpecular(self: Light): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightSpecular=(self: Light; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightBakeMode(self: Light): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightBakeMode=(self: Light; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightCullMask(self: Light): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightCullMask=(self: Light; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc shadowEnabled(self: Light): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc shadowEnabled=(self: Light; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc shadowColor(self: Light): Color {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc shadowColor=(self: Light; val: Color) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc shadowBias(self: Light): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc shadowBias=(self: Light; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc shadowContact(self: Light): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc shadowContact=(self: Light; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc shadowReverseCullFace(self: Light): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc shadowReverseCullFace=(self: Light; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc editorOnly(self: Light): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc editorOnly=(self: Light; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}