Struct gdnative::EditorSpatialGizmo [−][src]
pub struct EditorSpatialGizmo { /* fields omitted */ }tools class EditorSpatialGizmo : SpatialGizmo (reference counted)
Base class
EditorSpatialGizmo inherits SpatialGizmo 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 EditorSpatialGizmo[src]
impl EditorSpatialGizmopub fn as_spatial_gizmo(&self) -> SpatialGizmo[src]
pub fn as_spatial_gizmo(&self) -> SpatialGizmoUp-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 redraw(&mut self)[src]
pub fn redraw(&mut self)pub fn get_handle_name(&mut self, index: i64) -> GodotString[src]
pub fn get_handle_name(&mut self, index: i64) -> GodotStringpub fn get_handle_value(&mut self, index: i64) -> Variant[src]
pub fn get_handle_value(&mut self, index: i64) -> Variantpub fn set_handle(&mut self, index: i64, camera: Option<Camera>, point: Vector2)[src]
pub fn set_handle(&mut self, index: i64, camera: Option<Camera>, point: Vector2)pub fn commit_handle(&mut self, index: i64, restore: Variant, cancel: bool)[src]
pub fn commit_handle(&mut self, index: i64, restore: Variant, cancel: bool)pub fn add_lines(
&mut self,
lines: Vector3Array,
material: Option<Material>,
billboard: bool
)[src]
pub fn add_lines(
&mut self,
lines: Vector3Array,
material: Option<Material>,
billboard: bool
)pub fn add_mesh(
&mut self,
mesh: Option<ArrayMesh>,
billboard: bool,
skeleton: Rid
)[src]
pub fn add_mesh(
&mut self,
mesh: Option<ArrayMesh>,
billboard: bool,
skeleton: Rid
)pub fn add_collision_segments(&mut self, segments: Vector3Array)[src]
pub fn add_collision_segments(&mut self, segments: Vector3Array)pub fn add_collision_triangles(
&mut self,
triangles: Option<TriangleMesh>,
bounds: Aabb
)[src]
pub fn add_collision_triangles(
&mut self,
triangles: Option<TriangleMesh>,
bounds: Aabb
)pub fn add_unscaled_billboard(
&mut self,
material: Option<Material>,
default_scale: f64
)[src]
pub fn add_unscaled_billboard(
&mut self,
material: Option<Material>,
default_scale: f64
)pub fn add_handles(
&mut self,
handles: Vector3Array,
billboard: bool,
secondary: bool
)[src]
pub fn add_handles(
&mut self,
handles: Vector3Array,
billboard: bool,
secondary: bool
)pub fn set_spatial_node(&mut self, node: Option<Object>)[src]
pub fn set_spatial_node(&mut self, node: Option<Object>)pub fn clear(&mut self)[src]
pub fn clear(&mut self)pub fn cast<T: GodotObject>(&self) -> Option<T>[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>Methods from Deref<Target = SpatialGizmo>
pub fn as_reference(&self) -> Reference[src]
pub fn as_reference(&self) -> ReferenceUp-cast.
pub fn cast<T: GodotObject>(&self) -> Option<T>[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>Trait Implementations
impl GodotObject for EditorSpatialGizmo[src]
impl GodotObject for EditorSpatialGizmofn 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 EditorSpatialGizmo[src]
impl Deref for EditorSpatialGizmotype Target = SpatialGizmo
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
fn deref(&self) -> &Self::TargetDereferences the value.
impl DerefMut for EditorSpatialGizmo[src]
impl DerefMut for EditorSpatialGizmoimpl Drop for EditorSpatialGizmo[src]
impl Drop for EditorSpatialGizmoAuto Trait Implementations
impl !Send for EditorSpatialGizmo
impl !Send for EditorSpatialGizmoimpl !Sync for EditorSpatialGizmo
impl !Sync for EditorSpatialGizmo