pub struct CelestialTileViewer { /* private fields */ }Expand description
Debug node driving the single-tile texture viewer. Exposed to the editor as a
tool so the bundled debug/tile_viewer.tscn scene can run it standalone.
Implementations§
Source§impl CelestialTileViewer
impl CelestialTileViewer
pub fn get_width(&self) -> <i64 as GodotConvert>::Via
👎Deprecated:
Auto-generated Rust getters/setters for #[var] are being phased out until v0.6.
If you need them, opt in with #[var(pub)].
pub fn set_width(&mut self, width: <i64 as GodotConvert>::Via)
👎Deprecated:
Auto-generated Rust getters/setters for #[var] are being phased out until v0.6.
If you need them, opt in with #[var(pub)].
pub fn get_face(&self) -> <i64 as GodotConvert>::Via
👎Deprecated:
Auto-generated Rust getters/setters for #[var] are being phased out until v0.6.
If you need them, opt in with #[var(pub)].
pub fn set_face(&mut self, face: <i64 as GodotConvert>::Via)
👎Deprecated:
Auto-generated Rust getters/setters for #[var] are being phased out until v0.6.
If you need them, opt in with #[var(pub)].
Trait Implementations§
Source§impl Bounds for CelestialTileViewer
impl Bounds for CelestialTileViewer
Source§impl GodotClass for CelestialTileViewer
impl GodotClass for CelestialTileViewer
Source§impl INode for CelestialTileViewer
impl INode for CelestialTileViewer
Source§fn on_notification(&mut self, what: NodeNotification)
fn on_notification(&mut self, what: NodeNotification)
Called when the object receives a Godot notification. Read more
§fn init(base: Base<Self::Base>) -> Self
fn init(base: Base<Self::Base>) -> Self
Godot constructor, accepting an injected
base object. Read more§fn enter_tree(&mut self)
fn enter_tree(&mut self)
Called when the node enters the [
SceneTree][crate::classes::SceneTree] (e.g. upon instantiating, scene changing, or after calling [add_child][crate::classes::Node::add_child] in a script). If the node has children, its [enter_tree][crate::classes::INode::enter_tree] callback will be called first, and then that of the children. Read more§fn ready(&mut self)
fn ready(&mut self)
Called when the node is “ready”, i.e. when both the node and its children have entered the scene tree. If the node has children, their [
ready][crate::classes::INode::ready] callbacks get triggered first, and the parent node will receive the ready notification afterwards. Read more§fn exit_tree(&mut self)
fn exit_tree(&mut self)
Called when the node is about to leave the [
SceneTree][crate::classes::SceneTree] (e.g. upon freeing, scene changing, or after calling [remove_child][crate::classes::Node::remove_child] in a script). If the node has children, its [exit_tree][crate::classes::INode::exit_tree] callback will be called last, after all its children have left the tree. Read more§fn process(&mut self, delta: f64)
fn process(&mut self, delta: f64)
Called on each idle frame, prior to rendering, and after physics ticks have been processed.
delta is the time between frames in seconds. Read more§fn physics_process(&mut self, delta: f64)
fn physics_process(&mut self, delta: f64)
Called once on each physics tick, and allows Nodes to synchronize their logic with physics ticks.
delta is the logical time between physics ticks in seconds and is equal to [member Engine.time_scale] / [member Engine.physics_ticks_per_second]. Read more§fn input(&mut self, event: Gd<InputEvent>)
fn input(&mut self, event: Gd<InputEvent>)
Called when there is an input event. The input event propagates up through the node tree until a node consumes it. Read more
§fn shortcut_input(&mut self, event: Gd<InputEvent>)
fn shortcut_input(&mut self, event: Gd<InputEvent>)
Called when an [
InputEventKey][crate::classes::InputEventKey], [InputEventShortcut][crate::classes::InputEventShortcut], or [InputEventJoypadButton][crate::classes::InputEventJoypadButton] hasn’t been consumed by [input][crate::classes::INode::input] or any GUI [Control][crate::classes::Control] item. It is called before [unhandled_key_input][crate::classes::INode::unhandled_key_input] and [unhandled_input][crate::classes::INode::unhandled_input]. The input event propagates up through the node tree until a node consumes it. Read more§fn unhandled_key_input(&mut self, event: Gd<InputEvent>)
fn unhandled_key_input(&mut self, event: Gd<InputEvent>)
Called when an [
InputEventKey][crate::classes::InputEventKey] hasn’t been consumed by [input][crate::classes::INode::input] or any GUI [Control][crate::classes::Control] item. It is called after [shortcut_input][crate::classes::INode::shortcut_input] but before [unhandled_input][crate::classes::INode::unhandled_input]. The input event propagates up through the node tree until a node consumes it. Read more§fn unhandled_input(&mut self, event: Gd<InputEvent>)
fn unhandled_input(&mut self, event: Gd<InputEvent>)
Called when an [
InputEvent][crate::classes::InputEvent] hasn’t been consumed by [input][crate::classes::INode::input] or any GUI [Control][crate::classes::Control] item. It is called after [shortcut_input][crate::classes::INode::shortcut_input] and after [unhandled_key_input][crate::classes::INode::unhandled_key_input]. The input event propagates up through the node tree until a node consumes it. Read more§fn on_validate_property(&self, property: &mut PropertyInfo)
fn on_validate_property(&self, property: &mut PropertyInfo)
Called whenever Godot retrieves value of property. Allows to customize existing properties.
Every property info goes through this method, except properties added with
on_get_property_list(). Read more§fn on_get_property_list(&mut self) -> Vec<PropertyInfo>
fn on_get_property_list(&mut self) -> Vec<PropertyInfo>
Called whenever Godot
get_property_list() is called, the returned vector here is
appended to the existing list of properties. Read more§fn on_property_get_revert(&self, property: StringName) -> Option<Variant>
fn on_property_get_revert(&self, property: StringName) -> Option<Variant>
Called by Godot to tell if a property has a custom revert or not. Read more
§fn get_configuration_warnings(&self) -> PackedArray<GString>
fn get_configuration_warnings(&self) -> PackedArray<GString>
The elements in the array returned from this method are displayed as warnings in the Scene dock if the script that overrides it is a
tool script. Read more§fn get_accessibility_configuration_warnings(&self) -> PackedArray<GString>
fn get_accessibility_configuration_warnings(&self) -> PackedArray<GString>
The elements in the array returned from this method are displayed as warnings in the Scene dock if the script that overrides it is a
tool script, and accessibility warnings are enabled in the editor settings. Read more§fn get_focused_accessibility_element(&self) -> Rid
fn get_focused_accessibility_element(&self) -> Rid
Called during accessibility information updates to determine the currently focused sub-element, should return a sub-element RID or the value returned by [
get_accessibility_element][crate::classes::Node::get_accessibility_element].Source§impl Inherits<Node> for CelestialTileViewer
impl Inherits<Node> for CelestialTileViewer
§const IS_SAME_CLASS: bool = false
const IS_SAME_CLASS: bool = false
True iff
Self == Base. Read moreSource§impl Inherits<Object> for CelestialTileViewer
impl Inherits<Object> for CelestialTileViewer
§const IS_SAME_CLASS: bool = false
const IS_SAME_CLASS: bool = false
True iff
Self == Base. Read moreSource§impl WithBaseField for CelestialTileViewer
impl WithBaseField for CelestialTileViewer
Source§fn to_gd(&self) -> Gd<CelestialTileViewer>
fn to_gd(&self) -> Gd<CelestialTileViewer>
Returns the
Gd pointer containing this object. Read more§fn base(&self) -> BaseRef<'_, Self>
fn base(&self) -> BaseRef<'_, Self>
Returns a shared reference guard, suitable for calling
&self engine methods on this object. Read more§fn base_mut(&mut self) -> BaseMut<'_, Self>
fn base_mut(&mut self) -> BaseMut<'_, Self>
Returns an exclusive reference guard, suitable for calling
&self/&mut self engine methods on this object. Read more§fn run_deferred<F>(&mut self, mut_self_method: F)where
F: FnOnce(&mut Self) + 'static,
fn run_deferred<F>(&mut self, mut_self_method: F)where
F: FnOnce(&mut Self) + 'static,
§fn run_deferred_gd<F>(&mut self, gd_function: F)where
F: FnOnce(Gd<Self>) + 'static,
fn run_deferred_gd<F>(&mut self, gd_function: F)where
F: FnOnce(Gd<Self>) + 'static,
Source§impl WithSignals for CelestialTileViewer
impl WithSignals for CelestialTileViewer
Source§type SignalCollection<'c, C: WithSignals> = __godot_Signals_CelestialTileViewer<'c, C>
type SignalCollection<'c, C: WithSignals> = __godot_Signals_CelestialTileViewer<'c, C>
The associated struct listing all signals of this class. Read more
Source§impl WithUserSignals for CelestialTileViewer
impl WithUserSignals for CelestialTileViewer
impl GodotDefault for CelestialTileViewer
impl ImplementsGodotApi for CelestialTileViewer
impl ImplementsGodotExports for CelestialTileViewer
impl ImplementsGodotVirtual for CelestialTileViewer
impl You_forgot_the_attribute__godot_api for CelestialTileViewer
Auto Trait Implementations§
impl !Freeze for CelestialTileViewer
impl !RefUnwindSafe for CelestialTileViewer
impl !Send for CelestialTileViewer
impl !Sync for CelestialTileViewer
impl Unpin for CelestialTileViewer
impl UnsafeUnpin for CelestialTileViewer
impl !UnwindSafe for CelestialTileViewer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Inherits<T> for Twhere
T: GodotClass,
impl<T> Inherits<T> for Twhere
T: GodotClass,
§const IS_SAME_CLASS: bool = true
const IS_SAME_CLASS: bool = true
True iff
Self == Base. Read more§impl<T> NewAlloc for Twhere
T: GodotDefault<Memory = MemManual> + Bounds,
impl<T> NewAlloc for Twhere
T: GodotDefault<Memory = MemManual> + Bounds,
§impl<C> ObjectToOwned<C> for Cwhere
C: WithBaseField,
impl<C> ObjectToOwned<C> for Cwhere
C: WithBaseField,
§fn object_to_owned(&self) -> Gd<C>
fn object_to_owned(&self) -> Gd<C>
Converts the object reference to an owned
Gd<T>.