Enum godot::engine::notify::Node3DNotification
#[repr(i32)]pub enum Node3DNotification {
Show 52 variants
TransformChanged = 2_000,
EnterWorld = 41,
ExitWorld = 42,
VisibilityChangedOrNodeRecacheRequested = 43,
LocalTransformChanged = 44,
EnterTree = 10,
ExitTree = 11,
MovedInParent = 12,
Ready = 13,
Paused = 14,
Unpaused = 15,
PhysicsProcess = 16,
Process = 17,
Parented = 18,
Unparented = 19,
SceneInstantiated = 20,
DragBegin = 21,
DragEnd = 22,
PathRenamed = 23,
ChildOrderChanged = 24,
InternalProcess = 25,
InternalPhysicsProcess = 26,
PostEnterTree = 27,
Disabled = 28,
Enabled = 29,
ResetPhysicsInterpolation = 2_001,
EditorPreSave = 9_001,
EditorPostSave = 9_002,
WmMouseEnter = 1_002,
WmMouseExit = 1_003,
WmWindowFocusIn = 1_004,
WmWindowFocusOut = 1_005,
WmCloseRequest = 1_006,
WmGoBackRequest = 1_007,
WmSizeChanged = 1_008,
WmDpiChange = 1_009,
VpMouseEnter = 1_010,
VpMouseExit = 1_011,
OsMemoryWarning = 2_009,
TranslationChanged = 2_010,
WmAbout = 2_011,
Crash = 2_012,
OsImeUpdate = 2_013,
ApplicationResumed = 2_014,
ApplicationPaused = 2_015,
ApplicationFocusIn = 2_016,
ApplicationFocusOut = 2_017,
TextServerChanged = 2_018,
Postinitialize = 0,
Predelete = 1,
ExtensionReloaded = 2,
Unknown(i32),
}
Expand description
Notification type for class Node3D
.
Makes it easier to keep an overview all possible notification variants for a given class, including notifications defined in base classes.
Variants§
TransformChanged = 2_000
EnterWorld = 41
ExitWorld = 42
VisibilityChangedOrNodeRecacheRequested = 43
LocalTransformChanged = 44
EnterTree = 10
ExitTree = 11
MovedInParent = 12
Ready = 13
Paused = 14
Unpaused = 15
PhysicsProcess = 16
Process = 17
Parented = 18
Unparented = 19
SceneInstantiated = 20
DragBegin = 21
DragEnd = 22
PathRenamed = 23
ChildOrderChanged = 24
InternalProcess = 25
InternalPhysicsProcess = 26
PostEnterTree = 27
Disabled = 28
Enabled = 29
ResetPhysicsInterpolation = 2_001
EditorPreSave = 9_001
EditorPostSave = 9_002
WmMouseEnter = 1_002
WmMouseExit = 1_003
WmWindowFocusIn = 1_004
WmWindowFocusOut = 1_005
WmCloseRequest = 1_006
WmGoBackRequest = 1_007
WmSizeChanged = 1_008
WmDpiChange = 1_009
VpMouseEnter = 1_010
VpMouseExit = 1_011
OsMemoryWarning = 2_009
TranslationChanged = 2_010
WmAbout = 2_011
Crash = 2_012
OsImeUpdate = 2_013
ApplicationResumed = 2_014
ApplicationPaused = 2_015
ApplicationFocusIn = 2_016
ApplicationFocusOut = 2_017
TextServerChanged = 2_018
Postinitialize = 0
Predelete = 1
ExtensionReloaded = 2
Unknown(i32)
Since Godot represents notifications as integers, it’s always possible that a notification outside the known types
is received. For example, the user can manually issue notifications through Object::notify()
.
Trait Implementations§
§impl Clone for Node3DNotification
impl Clone for Node3DNotification
§fn clone(&self) -> Node3DNotification
fn clone(&self) -> Node3DNotification
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for Node3DNotification
impl Debug for Node3DNotification
§impl From<i32> for Node3DNotification
impl From<i32> for Node3DNotification
§fn from(enumerator: i32) -> Node3DNotification
fn from(enumerator: i32) -> Node3DNotification
Always succeeds, mapping unknown integers to the Unknown
variant.
§impl Hash for Node3DNotification
impl Hash for Node3DNotification
§impl Ord for Node3DNotification
impl Ord for Node3DNotification
§fn cmp(&self, other: &Node3DNotification) -> Ordering
fn cmp(&self, other: &Node3DNotification) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for Node3DNotification
impl PartialEq for Node3DNotification
§fn eq(&self, other: &Node3DNotification) -> bool
fn eq(&self, other: &Node3DNotification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Node3DNotification
impl PartialOrd for Node3DNotification
§fn partial_cmp(&self, other: &Node3DNotification) -> Option<Ordering>
fn partial_cmp(&self, other: &Node3DNotification) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Node3DNotification
impl Eq for Node3DNotification
impl StructuralPartialEq for Node3DNotification
Auto Trait Implementations§
impl Freeze for Node3DNotification
impl RefUnwindSafe for Node3DNotification
impl Send for Node3DNotification
impl Sync for Node3DNotification
impl Unpin for Node3DNotification
impl UnwindSafe for Node3DNotification
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