[−][src]Struct gdnative_bindings::EditorSpatialGizmo
tools class EditorSpatialGizmo
inherits SpatialGizmo
(reference counted).
Official documentation
See the documentation of this class in the Godot engine's official documentation.
Memory management
The lifetime of this object is automatically managed through reference counting.
Class hierarchy
EditorSpatialGizmo inherits methods from:
Tool
This class is used to interact with Godot's editor.
Methods
impl EditorSpatialGizmo
[src]
pub fn new() -> Self
[src]
pub fn new_ref(&self) -> Self
[src]
Creates a new reference to the same reference-counted object.
pub fn add_collision_segments(&mut self, segments: Vector3Array)
[src]
pub fn add_collision_triangles(&mut self, triangles: Option<TriangleMesh>)
[src]
pub fn add_handles(
&mut self,
handles: Vector3Array,
material: Option<Material>,
billboard: bool,
secondary: bool
)
[src]
&mut self,
handles: Vector3Array,
material: Option<Material>,
billboard: bool,
secondary: bool
)
pub fn add_lines(
&mut self,
lines: Vector3Array,
material: Option<Material>,
billboard: bool
)
[src]
&mut self,
lines: Vector3Array,
material: Option<Material>,
billboard: bool
)
pub fn add_mesh(
&mut self,
mesh: Option<ArrayMesh>,
billboard: bool,
skeleton: Rid,
material: Option<Material>
)
[src]
&mut self,
mesh: Option<ArrayMesh>,
billboard: bool,
skeleton: Rid,
material: Option<Material>
)
pub fn add_unscaled_billboard(
&mut self,
material: Option<Material>,
default_scale: f64
)
[src]
&mut self,
material: Option<Material>,
default_scale: f64
)
pub fn clear(&mut self)
[src]
pub fn commit_handle(&mut self, index: i64, restore: Variant, cancel: bool)
[src]
pub fn get_handle_name(&mut self, index: i64) -> GodotString
[src]
pub fn get_handle_value(&mut self, index: i64) -> Variant
[src]
pub fn get_plugin(&self) -> Option<EditorSpatialGizmoPlugin>
[src]
pub fn get_spatial_node(&self) -> Option<Spatial>
[src]
pub fn is_handle_highlighted(&mut self, index: i64) -> bool
[src]
pub fn redraw(&mut self)
[src]
pub fn set_handle(&mut self, index: i64, camera: Option<Camera>, point: Vector2)
[src]
[src]
pub fn set_spatial_node(&mut self, node: Option<Node>)
[src]
pub fn to_spatial_gizmo(&self) -> SpatialGizmo
[src]
Up-cast.
pub fn to_reference(&self) -> Reference
[src]
Up-cast.
pub fn to_object(&self) -> Object
[src]
Up-cast.
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Generic dynamic cast.
Methods from Deref<Target = SpatialGizmo>
pub fn new_ref(&self) -> Self
[src]
Creates a new reference to the same reference-counted object.
pub fn init_ref(&mut self) -> bool
[src]
Inherited from Reference.
pub fn to_reference(&self) -> Reference
[src]
Up-cast.
pub fn to_object(&self) -> Object
[src]
Up-cast.
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Generic dynamic cast.
Trait Implementations
impl Clone for EditorSpatialGizmo
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EditorSpatialGizmo
[src]
impl Deref for EditorSpatialGizmo
[src]
type Target = SpatialGizmo
The resulting type after dereferencing.
fn deref(&self) -> &SpatialGizmo
[src]
impl DerefMut for EditorSpatialGizmo
[src]
fn deref_mut(&mut self) -> &mut SpatialGizmo
[src]
impl Drop for EditorSpatialGizmo
[src]
impl FromVariant for EditorSpatialGizmo
[src]
fn from_variant(variant: &Variant) -> Option<Self>
[src]
impl GodotObject for EditorSpatialGizmo
[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 Instanciable for EditorSpatialGizmo
[src]
impl ToVariant for EditorSpatialGizmo
[src]
fn to_variant(&self) -> Variant
[src]
Auto Trait Implementations
impl RefUnwindSafe for EditorSpatialGizmo
impl !Send for EditorSpatialGizmo
impl !Sync for EditorSpatialGizmo
impl Unpin for EditorSpatialGizmo
impl UnwindSafe for EditorSpatialGizmo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,