Spatial.Constants

Values

ValueMeaning
notificationEnterWorld41

Spatial nodes receives this notification when they are registered to new World resource.

notificationExitWorld42

Spatial nodes receives this notification when they are unregistered from current World resource.

notificationVisibilityChanged43

Spatial nodes receives this notification when their visibility changes.

notificationTransformChanged2000

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. The notification is also sent if the node is in the editor context and it has a valid gizmo.

Meta