Struct gdnative::SpotLight
[−]
[src]
pub struct SpotLight { /* fields omitted */ }
Methods from Deref<Target = Light>
pub fn set_editor_only(&self, editor_only: bool)
[src]
pub fn is_editor_only(&self) -> bool
[src]
pub fn set_param(&self, param: i64, value: f64)
[src]
pub fn get_param(&self, param: i64) -> f64
[src]
pub fn set_shadow(&self, enabled: bool)
[src]
pub fn has_shadow(&self) -> bool
[src]
pub fn set_negative(&self, enabled: bool)
[src]
pub fn is_negative(&self) -> bool
[src]
pub fn set_cull_mask(&self, cull_mask: i64)
[src]
pub fn get_cull_mask(&self) -> i64
[src]
pub fn set_color(&self, color: Color)
[src]
pub fn get_color(&self) -> Color
[src]
pub fn set_shadow_reverse_cull_face(&self, enable: bool)
[src]
pub fn get_shadow_reverse_cull_face(&self) -> bool
[src]
pub fn set_shadow_color(&self, shadow_color: Color)
[src]
pub fn get_shadow_color(&self) -> Color
[src]
pub fn set_bake_mode(&self, bake_mode: i64)
[src]
Trait Implementations
impl GodotClass for SpotLight
[src]
type ClassData = SpotLight
type Reference = SpotLight
fn godot_name() -> &'static str
[src]
unsafe fn register_class(_desc: *mut c_void)
[src]
fn godot_info(&self) -> &GodotClassInfo
[src]
unsafe fn reference(
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference
[src]
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference