Struct gdnative::MeshInstance
[−]
[src]
pub struct MeshInstance { /* fields omitted */ }
Methods
impl MeshInstance
[src]
pub fn set_mesh(&self, mesh: Option<GodotRef<Mesh>>)
[src]
pub fn get_mesh(&self) -> Option<GodotRef<Mesh>>
[src]
pub fn set_skeleton_path(&self, skeleton_path: NodePath)
[src]
pub fn get_skeleton_path(&self) -> NodePath
[src]
pub fn set_surface_material(
&self,
surface: i64,
material: Option<GodotRef<Material>>
)
[src]
&self,
surface: i64,
material: Option<GodotRef<Material>>
)
pub fn get_surface_material(&self, surface: i64) -> Option<GodotRef<Material>>
[src]
pub fn create_trimesh_collision(&self)
[src]
pub fn create_convex_collision(&self)
[src]
pub fn _mesh_changed(&self)
[src]
pub fn create_debug_tangents(&self)
[src]
Methods from Deref<Target = GeometryInstance>
pub fn set_material_override(&self, material: Option<GodotRef<Material>>)
[src]
pub fn get_material_override(&self) -> Option<GodotRef<Material>>
[src]
pub fn set_flag(&self, flag: i64, value: bool)
[src]
pub fn get_flag(&self, flag: i64) -> bool
[src]
pub fn set_cast_shadows_setting(&self, shadow_casting_setting: i64)
[src]
pub fn set_lod_max_hysteresis(&self, mode: f64)
[src]
pub fn get_lod_max_hysteresis(&self) -> f64
[src]
pub fn set_lod_max_distance(&self, mode: f64)
[src]
pub fn get_lod_max_distance(&self) -> f64
[src]
pub fn set_lod_min_hysteresis(&self, mode: f64)
[src]
pub fn get_lod_min_hysteresis(&self) -> f64
[src]
pub fn set_lod_min_distance(&self, mode: f64)
[src]
pub fn get_lod_min_distance(&self) -> f64
[src]
pub fn set_extra_cull_margin(&self, margin: f64)
[src]
pub fn get_extra_cull_margin(&self) -> f64
[src]
Trait Implementations
impl GodotClass for MeshInstance
[src]
type ClassData = MeshInstance
type Reference = MeshInstance
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
unsafe fn from_object(obj: *mut godot_object) -> Self
[src]
impl Deref for MeshInstance
[src]
type Target = GeometryInstance
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.