Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
GLTFLight¶
Inherits: Resource < RefCounted < Object
Represents a GLTF light.
Description¶
Represents a light as defined by the KHR_lights_punctual
GLTF extension.
Tutorials¶
Properties¶
|
||
|
||
|
||
|
||
|
||
|
Methods¶
from_dictionary ( Dictionary dictionary ) static |
|
to_dictionary ( ) const |
|
to_node ( ) const |
Property Descriptions¶
Color color = Color(1, 1, 1, 1)
The Color of the light. Defaults to white. A black color causes the light to have no effect.
float inner_cone_angle = 0.0
The inner angle of the cone in a spotlight. Must be less than or equal to the outer cone angle.
Within this angle, the light is at full brightness. Between the inner an