Struct gdnative::GeometryInstance
[−]
[src]
pub struct GeometryInstance { /* fields omitted */ }
core class GeometryInstance : VisualInstance
(manually managed)
Base class
GeometryInstance inherits VisualInstance and all of its methods.
Methods
impl GeometryInstance
[src]
pub fn as_visual_instance(&self) -> VisualInstance
[src]
Up-cast.
pub fn set_material_override(&mut self, material: Option<Material>)
[src]
pub fn get_material_override(&self) -> Option<Material>
[src]
pub fn set_flag(&mut self, flag: i64, value: bool)
[src]
pub fn get_flag(&self, flag: i64) -> bool
[src]
pub fn set_cast_shadows_setting(&mut self, shadow_casting_setting: i64)
[src]
pub fn set_lod_max_hysteresis(&mut self, mode: f64)
[src]
pub fn get_lod_max_hysteresis(&self) -> f64
[src]
pub fn set_lod_max_distance(&mut self, mode: f64)
[src]
pub fn get_lod_max_distance(&self) -> f64
[src]
pub fn set_lod_min_hysteresis(&mut self, mode: f64)
[src]
pub fn get_lod_min_hysteresis(&self) -> f64
[src]
pub fn set_lod_min_distance(&mut self, mode: f64)
[src]
pub fn get_lod_min_distance(&self) -> f64
[src]
pub fn set_extra_cull_margin(&mut self, margin: f64)
[src]
pub fn get_extra_cull_margin(&self) -> f64
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Methods from Deref<Target = VisualInstance>
pub fn as_spatial(&self) -> Spatial
[src]
Up-cast.
pub fn _get_visual_instance_rid(&self) -> Rid
[src]
pub fn set_base(&mut self, base: Rid)
[src]
pub fn set_layer_mask(&mut self, mask: i64)
[src]
pub fn get_layer_mask(&self) -> i64
[src]
pub fn get_transformed_aabb(&self) -> Aabb
[src]
pub fn get_aabb(&self) -> Aabb
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Trait Implementations
impl GodotObject for GeometryInstance
[src]
fn class_name() -> &'static str
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn to_sys(&self) -> *mut godot_object
[src]
impl Deref for GeometryInstance
[src]
type Target = VisualInstance
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.