Struct gdnative::CanvasItemMaterial [−][src]
pub struct CanvasItemMaterial { /* fields omitted */ }
core class CanvasItemMaterial : Material
(reference counted)
Base class
CanvasItemMaterial inherits Material and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl CanvasItemMaterial
[src]
impl CanvasItemMaterial
pub fn as_material(&self) -> Material
[src]
pub fn as_material(&self) -> Material
Up-cast.
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn new_ref(&self) -> Self
[src]
pub fn new_ref(&self) -> Self
Creates a new reference to the same object.
pub fn set_blend_mode(&mut self, blend_mode: i64)
[src]
pub fn set_blend_mode(&mut self, blend_mode: i64)
pub fn set_light_mode(&mut self, light_mode: i64)
[src]
pub fn set_light_mode(&mut self, light_mode: i64)
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Methods from Deref<Target = Material>
pub fn as_resource(&self) -> Resource
[src]
pub fn as_resource(&self) -> Resource
Up-cast.
pub fn set_next_pass(&mut self, next_pass: Option<Material>)
[src]
pub fn set_next_pass(&mut self, next_pass: Option<Material>)
pub fn get_next_pass(&self) -> Option<Material>
[src]
pub fn get_next_pass(&self) -> Option<Material>
pub fn set_render_priority(&mut self, priority: i64)
[src]
pub fn set_render_priority(&mut self, priority: i64)
pub fn get_render_priority(&self) -> i64
[src]
pub fn get_render_priority(&self) -> i64
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Trait Implementations
impl GodotObject for CanvasItemMaterial
[src]
impl GodotObject for CanvasItemMaterial
fn class_name() -> &'static str
[src]
fn class_name() -> &'static str
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
unsafe fn to_sys(&self) -> *mut godot_object
[src]
unsafe fn to_sys(&self) -> *mut godot_object
impl Deref for CanvasItemMaterial
[src]
impl Deref for CanvasItemMaterial
type Target = Material
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl DerefMut for CanvasItemMaterial
[src]
impl DerefMut for CanvasItemMaterial
impl Drop for CanvasItemMaterial
[src]
impl Drop for CanvasItemMaterial
Auto Trait Implementations
impl !Send for CanvasItemMaterial
impl !Send for CanvasItemMaterial
impl !Sync for CanvasItemMaterial
impl !Sync for CanvasItemMaterial