GLTFLight

Inherits: Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

Color

color

Color(1, 1, 1, 1)

float

inner_cone_angle

0.0

float

intensity

1.0

String

light_type

""

float

outer_cone_angle

0.785398

float

range

inf

Methods

GLTFLight

from_dictionary ( Dictionary dictionary ) static

GLTFLight

from_node ( Light3D light_node ) static

Variant

get_additional_data ( StringName extension_name )

void

set_additional_data ( StringName extension_name, Variant additional_data )

Dictionary

to_dictionary ( ) const

Light3D

to_node ( ) const


Property Descriptions

Color color = Color(1, 1, 1, 1)

  • void set_color ( Color value )

  • Color get_color ( )

There is currently no description for this property. Please help us by contributing one!


float inner_cone_angle = 0.0

  • void set_inner_cone_angle ( float value )

  • float get_inner_cone_angle ( )

There is currently no description for this property. Please help us by contributing one!


float intensity = 1.0

  • void set_intensity ( float value )

  • float get_intensity ( )

There is currently no description for this property. Please help us by contributing one!


String light_type = ""

  • void set_light_type ( String value )

  • String get_light_type ( )

There is currently no description for this property. Please help us by contributing one!


float outer_cone_angle = 0.785398

  • void set_outer_cone_angle ( float value )

  • float get_outer_cone_angle ( )

There is currently no description for this property. Please help us by contributing one!


float range = inf

  • void set_range ( float value )

  • float get_range ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

GLTFLight from_dictionary ( Dictionary dictionary ) static

There is currently no description for this method. Please help us by contributing one!


GLTFLight from_node ( Light3D light_node ) static

There is currently no description for this method. Please help us by contributing one!


Variant get_additional_data ( StringName extension_name )

There is currently no description for this method. Please help us by contributing one!


void set_additional_data ( StringName extension_name, Variant additional_data )

There is currently no description for this method. Please help us by contributing one!


Dictionary to_dictionary ( ) const

There is currently no description for this method. Please help us by contributing one!


Light3D to_node ( ) const

There is currently no description for this method. Please help us by contributing one!