HammeritePointLight3D
Core: entities. Inherits HammeritePointEntityNode3D < Node3D
A baked point light (entity type light_point): a lamp that is part of the bake and cannot be switched.
HammeriteLightmapper reads its energy, radius, color and light_group from the entity at bake time; at run time the node only shows an icon while the editor is up, and its radius while it is picked. For a lamp a game can put out, use HammeriteDynamicPointLight3D; for one carried about, HammeriteCarriedLight3D.
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
.