[][src]Struct gdnative_bindings::EditorSpatialGizmo

pub struct EditorSpatialGizmo { /* fields omitted */ }

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]

pub fn add_lines(
    &mut self,
    lines: Vector3Array,
    material: Option<Material>,
    billboard: bool
)
[src]

pub fn add_mesh(
    &mut self,
    mesh: Option<ArrayMesh>,
    billboard: bool,
    skeleton: Rid,
    material: Option<Material>
)
[src]

pub fn add_unscaled_billboard(
    &mut self,
    material: Option<Material>,
    default_scale: f64
)
[src]

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]

pub fn set_hidden(&mut self, hidden: bool)[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]

impl Debug for EditorSpatialGizmo[src]

impl Deref for EditorSpatialGizmo[src]

type Target = SpatialGizmo

The resulting type after dereferencing.

impl DerefMut for EditorSpatialGizmo[src]

impl Drop for EditorSpatialGizmo[src]

impl FromVariant for EditorSpatialGizmo[src]

impl GodotObject for EditorSpatialGizmo[src]

impl Instanciable for EditorSpatialGizmo[src]

impl ToVariant for EditorSpatialGizmo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.