Skip to main content

CelestialTileChunk

Struct CelestialTileChunk 

Source
pub struct CelestialTileChunk { /* private fields */ }
Expand description

Debug node (mode B): one production chunk realized + baked + drawn flat-on.

Implementations§

Source§

impl CelestialTileChunk

Source

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)].

Source

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)].

Source

pub fn get_radius(&self) -> <f32 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)].

Source

pub fn set_radius(&mut self, radius: <f32 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)].

Source

pub fn get_chunk_res(&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)].

Source

pub fn set_chunk_res(&mut self, chunk_res: <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)].

Source

pub fn get_face_fraction(&self) -> <f32 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)].

Source

pub fn set_face_fraction(&mut self, face_fraction: <f32 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)].

Source

pub fn get_flat_face(&self) -> <bool 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)].

Source

pub fn set_flat_face(&mut self, flat_face: <bool 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 CelestialTileChunk

Source§

type Memory = <<CelestialTileChunk as GodotClass>::Base as Bounds>::Memory

Defines the memory strategy of the static type.
Source§

type Declarer = DeclUser

Whether this class is a core Godot class provided by the engine, or declared by the user as a Rust struct.
Source§

impl GodotClass for CelestialTileChunk

Source§

type Base = Node3D

The immediate superclass of T. This is always a Godot engine class.
Source§

fn class_id() -> ClassId

Globally unique class ID, linked to the name under which the class is registered in Godot. Read more
§

const INIT_LEVEL: InitLevel = <Self::Base as GodotClass>::INIT_LEVEL

Initialization level, during which this class should be initialized with Godot. Read more
§

fn inherits<Base>() -> bool
where Base: GodotClass,

Returns whether Self inherits from Base. Read more
Source§

impl INode3D for CelestialTileChunk

Source§

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
Source§

fn on_notification(&mut self, what: Node3DNotification)

Called when the object receives a Godot notification. Read more
§

fn init(base: Base<Self::Base>) -> Self

Godot constructor, accepting an injected base object. Read more
§

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)

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)

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 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>)

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>)

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>)

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>)

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_get(&self, property: StringName) -> Option<Variant>

Called whenever get() is called or Godot gets the value of a property. Read more
§

fn on_set(&mut self, property: StringName, value: Variant) -> bool

Called whenever Godot set() is called or Godot sets the value of a property. Read more
§

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>

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>

Called by Godot to tell if a property has a custom revert or not. Read more
§

fn to_string(&self) -> GString

String representation of the Godot instance. Read more
§

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>

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

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 CelestialTileChunk

§

const IS_SAME_CLASS: bool = false

True iff Self == Base. Read more
Source§

impl Inherits<Node3D> for CelestialTileChunk

§

const IS_SAME_CLASS: bool = false

True iff Self == Base. Read more
Source§

impl Inherits<Object> for CelestialTileChunk

§

const IS_SAME_CLASS: bool = false

True iff Self == Base. Read more
Source§

impl WithBaseField for CelestialTileChunk

Source§

fn to_gd(&self) -> Gd<CelestialTileChunk>

Returns the Gd pointer containing this object. Read more
§

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>

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,

Defers the given closure to run during idle time. Read more
§

fn run_deferred_gd<F>(&mut self, gd_function: F)
where F: FnOnce(Gd<Self>) + 'static,

Defers the given closure to run during idle time. Read more
Source§

impl WithSignals for CelestialTileChunk

Source§

type SignalCollection<'c, C: WithSignals> = __godot_Signals_CelestialTileChunk<'c, C>

The associated struct listing all signals of this class. Read more
Source§

impl WithUserSignals for CelestialTileChunk

Source§

fn signals(&mut self) -> Self::SignalCollection<'_, Self>

Access user-defined signals of the current object self. Read more
Source§

impl GodotDefault for CelestialTileChunk

Source§

impl ImplementsGodotApi for CelestialTileChunk

Source§

impl ImplementsGodotExports for CelestialTileChunk

Source§

impl ImplementsGodotVirtual for CelestialTileChunk

Source§

impl You_forgot_the_attribute__godot_api for CelestialTileChunk

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Inherits<T> for T
where T: GodotClass,

§

const IS_SAME_CLASS: bool = true

True iff Self == Base. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> NewAlloc for T
where T: GodotDefault<Memory = MemManual> + Bounds,

§

fn new_alloc() -> Gd<T>

Return a new, manually-managed Gd containing a default-constructed instance. Read more
§

impl<C> ObjectToOwned<C> for C
where C: WithBaseField,

§

fn object_to_owned(&self) -> Gd<C>

Converts the object reference to an owned Gd<T>.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> UniformObjectDeref<DeclUser> for T
where T: WithBaseField,

§

type TargetRef<'a> = GdRef<'a, T>

§

type TargetMut<'a> = GdMut<'a, T>

§

fn object_as_ref<'a>( gd: &'a Gd<T>, ) -> <T as UniformObjectDeref<DeclUser>>::TargetRef<'a>

§

fn object_as_mut<'a>( gd: &'a mut Gd<T>, ) -> <T as UniformObjectDeref<DeclUser>>::TargetMut<'a>