Enum Spatial.Constants

enum Constants : int { ... }

Enum members

NameDescription
notificationEnterWorld Spatial nodes receives this notification when they are registered to new World resource.
notificationExitWorld Spatial nodes receives this notification when they are unregistered from current World resource.
notificationTransformChanged Spatial nodes receives this notification when their global transform changes. This means that either the current or a parent node changed its transform. In order for constant NOTIFICATION_TRANSFORM_CHANGED to work, users first need to ask for it, with setNotifyTransform.
notificationVisibilityChanged Spatial nodes receives this notification when their visibility changes.