Kaba struct YLight ed
...
Syntax ed
struct YLight
var allow_shadow: bool
var ang: Quaternion
var color: Color
var enabled: bool
var harshness: f32
var pos: vec3
var power: f32
var shadow_dist_max: f32
var shadow_dist_min: f32
var theta: f32
var type: LightType
var user_shadow_control: bool
var user_shadow_theta: f32
# functions
func mut init(type: LightType, c: Color, theta: f32)
# operators
func mut __assign__(other: YLight) # YLight = YLight
Functions ed
- func mut init(type: LightType, c: Color, theta: f32)
- ...
Elements ed
- var allow_shadow: bool
- ...
- var ang: Quaternion
- ...
- var color: Color
- ...
- var enabled: bool
- ...
- var harshness: f32
- ...
- var pos: vec3
- ...
- var power: f32
- ...
- var shadow_dist_max: f32
- ...
- var shadow_dist_min: f32
- ...
- var theta: f32
- ...
- var type: LightType
- ...
- var user_shadow_control: bool
- ...
- var user_shadow_theta: f32
- ...