Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
LightJS Struct Reference

Public Attributes

i32 type
glm::vec4 color
f32 intensity
f32 radius
f32 innerRadius
f32 falloff
bool inverseSquare
f32 shadowStrength
i32 layerMin
i32 layerMax
u32 cookie
glm::vec2 cookieSize
f32 innerAngle
f32 outerAngle
f32 shadowSoftness
f32 sourceAngle
f32 shadowDistance
bool meshShadows
f32 shadowExtent
f32 cascadeSplit
f32 shadowBias
f32 shadowSlopeFloor
bool followEnvironmentSun
bool aimFollowedSun
u32 environment
f32 environmentRotation
bool drawEnvironment
f32 reflectionScale
f32 diffuseScale
glm::vec4 diffuseTint
f32 reflectionSaturation
glm::vec4 bakedTint
bool hemisphere
glm::vec4 groundColor
bool enabled

Detailed Description

Definition at line 662 of file WebBindings.generated.cpp.

Member Data Documentation

◆ aimFollowedSun

bool LightJS::aimFollowedSun

Definition at line 686 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ bakedTint

glm::vec4 LightJS::bakedTint

Definition at line 694 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ cascadeSplit

f32 LightJS::cascadeSplit

Definition at line 682 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ color

glm::vec4 LightJS::color

Definition at line 664 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ cookie

u32 LightJS::cookie

Definition at line 673 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ cookieSize

glm::vec2 LightJS::cookieSize

Definition at line 674 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ diffuseScale

f32 LightJS::diffuseScale

Definition at line 691 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ diffuseTint

glm::vec4 LightJS::diffuseTint

Definition at line 692 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ drawEnvironment

bool LightJS::drawEnvironment

Definition at line 689 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ enabled

bool LightJS::enabled

Definition at line 697 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ environment

u32 LightJS::environment

Definition at line 687 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ environmentRotation

f32 LightJS::environmentRotation

Definition at line 688 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ falloff

f32 LightJS::falloff

Definition at line 668 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ followEnvironmentSun

bool LightJS::followEnvironmentSun

Definition at line 685 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ groundColor

glm::vec4 LightJS::groundColor

Definition at line 696 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ hemisphere

bool LightJS::hemisphere

Definition at line 695 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ innerAngle

f32 LightJS::innerAngle

Definition at line 675 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ innerRadius

f32 LightJS::innerRadius

Definition at line 667 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ intensity

f32 LightJS::intensity

Definition at line 665 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ inverseSquare

bool LightJS::inverseSquare

Definition at line 669 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ layerMax

i32 LightJS::layerMax

Definition at line 672 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ layerMin

i32 LightJS::layerMin

Definition at line 671 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ meshShadows

bool LightJS::meshShadows

Definition at line 680 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ outerAngle

f32 LightJS::outerAngle

Definition at line 676 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ radius

f32 LightJS::radius

Definition at line 666 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ reflectionSaturation

f32 LightJS::reflectionSaturation

Definition at line 693 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ reflectionScale

f32 LightJS::reflectionScale

Definition at line 690 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ shadowBias

f32 LightJS::shadowBias

Definition at line 683 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ shadowDistance

f32 LightJS::shadowDistance

Definition at line 679 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ shadowExtent

f32 LightJS::shadowExtent

Definition at line 681 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ shadowSlopeFloor

f32 LightJS::shadowSlopeFloor

Definition at line 684 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ shadowSoftness

f32 LightJS::shadowSoftness

Definition at line 677 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ shadowStrength

f32 LightJS::shadowStrength

Definition at line 670 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ sourceAngle

f32 LightJS::sourceAngle

Definition at line 678 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().

◆ type

i32 LightJS::type

Definition at line 663 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), lightApplyJS(), and lightToJS().


The documentation for this struct was generated from the following file: