Kaba class Light ed

...

Syntax ed

class Light extends Component
    var allow_shadow: bool
    var color: color
    var enabled: bool
    var harshness: f32
    var owner: Entity&
    var radius: f32
    var shadow_dist_max: f32
    var shadow_dist_min: f32
    var theta: f32
    var user_shadow_control: bool
    var user_shadow_theta: f32

    # constructors
    func mut __init__()

    # functions
    func mut set_direction(dir: vec3)

Functions ed

func mut set_direction(dir: vec3)
...

Elements ed

var allow_shadow: bool
...

var color: color
...

var enabled: bool
...

var harshness: f32
...

var owner: Entity&
...

var radius: f32
...

var shadow_dist_max: f32
...

var shadow_dist_min: f32
...

var theta: f32
...

var user_shadow_control: bool
...

var user_shadow_theta: f32
...