Struct gdnative::SphereMesh [−][src]
pub struct SphereMesh { /* fields omitted */ }core class SphereMesh : PrimitiveMesh (reference counted)
Base class
SphereMesh inherits PrimitiveMesh and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl SphereMesh[src]
impl SphereMeshpub fn as_primitive_mesh(&self) -> PrimitiveMesh[src]
pub fn as_primitive_mesh(&self) -> PrimitiveMeshUp-cast.
pub fn new() -> Self[src]
pub fn new() -> Selfpub fn new_ref(&self) -> Self[src]
pub fn new_ref(&self) -> SelfCreates a new reference to the same object.
pub fn set_radius(&mut self, radius: f64)[src]
pub fn set_radius(&mut self, radius: f64)pub fn get_radius(&self) -> f64[src]
pub fn get_radius(&self) -> f64pub fn set_height(&mut self, height: f64)[src]
pub fn set_height(&mut self, height: f64)pub fn get_height(&self) -> f64[src]
pub fn get_height(&self) -> f64pub fn set_radial_segments(&mut self, radial_segments: i64)[src]
pub fn set_radial_segments(&mut self, radial_segments: i64)pub fn get_radial_segments(&self) -> i64[src]
pub fn get_radial_segments(&self) -> i64pub fn set_rings(&mut self, rings: i64)[src]
pub fn set_rings(&mut self, rings: i64)pub fn get_rings(&self) -> i64[src]
pub fn get_rings(&self) -> i64pub fn set_is_hemisphere(&mut self, is_hemisphere: bool)[src]
pub fn set_is_hemisphere(&mut self, is_hemisphere: bool)pub fn get_is_hemisphere(&self) -> bool[src]
pub fn get_is_hemisphere(&self) -> boolpub fn cast<T: GodotObject>(&self) -> Option<T>[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>Methods from Deref<Target = PrimitiveMesh>
pub fn as_mesh(&self) -> Mesh[src]
pub fn as_mesh(&self) -> MeshUp-cast.
pub fn _update(&self)[src]
pub fn _update(&self)pub fn set_material(&mut self, material: Option<Material>)[src]
pub fn set_material(&mut self, material: Option<Material>)pub fn get_material(&self) -> Option<Material>[src]
pub fn get_material(&self) -> Option<Material>pub fn get_mesh_arrays(&self) -> VariantArray[src]
pub fn get_mesh_arrays(&self) -> VariantArraypub fn cast<T: GodotObject>(&self) -> Option<T>[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>Trait Implementations
impl GodotObject for SphereMesh[src]
impl GodotObject for SphereMeshfn class_name() -> &'static str[src]
fn class_name() -> &'static strunsafe fn from_sys(obj: *mut godot_object) -> Self[src]
unsafe fn from_sys(obj: *mut godot_object) -> Selfunsafe fn to_sys(&self) -> *mut godot_object[src]
unsafe fn to_sys(&self) -> *mut godot_objectimpl Deref for SphereMesh[src]
impl Deref for SphereMeshtype Target = PrimitiveMesh
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
fn deref(&self) -> &Self::TargetDereferences the value.
impl DerefMut for SphereMesh[src]
impl DerefMut for SphereMeshimpl Drop for SphereMesh[src]
impl Drop for SphereMeshAuto Trait Implementations
impl !Send for SphereMesh
impl !Send for SphereMeshimpl !Sync for SphereMesh
impl !Sync for SphereMesh