HammeriteDirectionalLight3D
Core: entities. Inherits HammeritePointEntityNode3D < Node3D
A baked directional light (entity type light_directional): sun or moonlight, entering through the map's sky faces.
Read by HammeriteLightmapper at bake time. With follow_sky on - the default - its direction, colour and energy are the HammeriteSkybox's and its own are ignored. Cannot be switched; see HammeriteDynamicDirectionalLight3D.
Methods
| Returns | Method |
|---|---|
void | set_editor_active(active: bool) |
bool | draws_editor_gizmos_only_when_picked() |
void | draw_editor_gizmos(gizmos: HammeriteGizmoBuffer) |
void | apply_entity_property(prop_name: StringName, value) |
Method descriptions
set_editor_active()
func set_editor_active(active: bool) -> void
Overrides
HammeritePointEntityNode3D.set_editor_active()
draws_editor_gizmos_only_when_picked()
func draws_editor_gizmos_only_when_picked() -> bool
Overrides
HammeritePointEntityNode3D.draws_editor_gizmos_only_when_picked()
draw_editor_gizmos()
func draw_editor_gizmos(gizmos: HammeriteGizmoBuffer) -> void
Overrides
HammeritePointEntityNode3D.draw_editor_gizmos()
apply_entity_property()
func apply_entity_property(prop_name: StringName, value) -> void
Overrides
.