Struct gdnative::BitMap
[−]
[src]
pub struct BitMap { /* fields omitted */ }
Methods
impl BitMap
[src]
pub fn create(&self, size: Vector2)
[src]
pub fn create_from_image_alpha(&self, image: Option<GodotRef<Image>>)
[src]
pub fn set_bit(&self, position: Vector2, bit: bool)
[src]
pub fn get_bit(&self, position: Vector2) -> bool
[src]
pub fn set_bit_rect(&self, p_rect: Rect2, bit: bool)
[src]
pub fn get_true_bit_count(&self) -> i64
[src]
pub fn get_size(&self) -> Vector2
[src]
pub fn _set_data(&self, arg0: Dictionary)
[src]
pub fn _get_data(&self) -> Dictionary
[src]
Methods from Deref<Target = Resource>
pub fn _setup_local_to_scene(&self)
[src]
pub fn set_path(&self, path: GodotString)
[src]
pub fn take_over_path(&self, path: GodotString)
[src]
pub fn get_path(&self) -> GodotString
[src]
pub fn set_name(&self, name: GodotString)
[src]
pub fn get_name(&self) -> GodotString
[src]
pub fn get_rid(&self) -> Rid
[src]
pub fn set_local_to_scene(&self, enable: bool)
[src]
pub fn is_local_to_scene(&self) -> bool
[src]
pub fn get_local_scene(&self) -> Option<GodotRef<Node>>
[src]
pub fn setup_local_to_scene(&self)
[src]
pub fn duplicate(&self, subresources: bool) -> Option<GodotRef<Resource>>
[src]
Trait Implementations
impl GodotClass for BitMap
[src]
type ClassData = BitMap
type Reference = BitMap
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