Struct gdnative::EditorImportPlugin
[−]
[src]
pub struct EditorImportPlugin { /* fields omitted */ }
tools class EditorImportPlugin : Reference
(reference counted)
Base class
EditorImportPlugin inherits Reference and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Tool
This class is used to interact with godot's editor.
Methods
impl EditorImportPlugin
[src]
pub fn as_reference(&self) -> Reference
[src]
Up-cast.
pub fn new() -> Self
[src]
pub fn new_ref(&self) -> Self
[src]
Creates a new reference to the same object.
pub fn get_importer_name(&mut self) -> GodotString
[src]
pub fn get_visible_name(&mut self) -> GodotString
[src]
pub fn get_preset_count(&mut self) -> i64
[src]
pub fn get_preset_name(&mut self, preset: i64) -> GodotString
[src]
pub fn get_recognized_extensions(&mut self) -> VariantArray
[src]
pub fn get_import_options(&mut self, preset: i64) -> VariantArray
[src]
pub fn get_save_extension(&mut self) -> GodotString
[src]
pub fn get_resource_type(&mut self) -> GodotString
[src]
pub fn get_option_visibility(
&mut self,
option: GodotString,
options: Dictionary
) -> bool
[src]
&mut self,
option: GodotString,
options: Dictionary
) -> bool
pub fn import(
&mut self,
source_file: GodotString,
save_path: GodotString,
options: Dictionary,
r_platform_variants: VariantArray,
r_gen_files: VariantArray
) -> i64
[src]
&mut self,
source_file: GodotString,
save_path: GodotString,
options: Dictionary,
r_platform_variants: VariantArray,
r_gen_files: VariantArray
) -> i64
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Methods from Deref<Target = Reference>
pub fn as_object(&self) -> Object
[src]
Up-cast.
pub fn init_ref(&mut self) -> bool
[src]
pub fn reference(&mut self) -> bool
[src]
pub fn unreference(&mut self) -> bool
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Trait Implementations
impl GodotObject for EditorImportPlugin
[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 EditorImportPlugin
[src]
type Target = Reference
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.