DirectionalLight: Difference between revisions
From Crumbled World Wiki
(Created page with "{{:DirectionalLightExampleCode}} ==Inheritance== SceneNode ==Static functions== {| class="wikitable" !|return !|function !|description |- |DirectionalLight |new(Vec3 direction, Vec3 color) |Create a new Instance of the the DirectionalLight |- |} ==Functions== {| class="wikitable" !|return !|function !|description |- |Vec3 |getColor() |Get the color of the light. |-...") |
(No difference)
|
Latest revision as of 12:58, 5 July 2025
Inheritance
Static functions
| return | function | description |
|---|---|---|
| DirectionalLight | new(Vec3 direction, Vec3 color) | Create a new Instance of the the DirectionalLight |
Functions
| return | function | description |
|---|---|---|
| Vec3 | getColor() | Get the color of the light. |
| Vec3 | getDirection() | Get the direction of the light. |
| setColor(Vec3 color) | Set the color of the light. | |
| setDirection(Vec3 direction) | Set the direction of the light. |