Inheritence

Constructors

Scene

Properties

Camera
DebugSceneWorld
Descriptionobsolete
Directory
Editor Allows access to the scene's editor session from the game. This will be null if there is no editor session active on this scene.
FixedDelta
FixedUpdateFrequencyobsolete
HasUnsavedChangesobsolete
IsEditor
IsFixedUpdate
IsLoading Return true if we're in an initial loading phase
IsValid Returns true if this scene has not been destroyed
MaxFixedUpdatesobsolete
NavMesh
NetworkFrequencyobsolete
NetworkRate One divided by ProjectSettings.Networking.UpdateRate.
PhysicsSubStepsobsolete
PhysicsWorld
RenderAttributes Global render attributes accessible on any renderable in this Scene.
SceneWorld
Source
ThreadedAnimationobsolete
TimeScale
Titleobsolete
Trace
UseFixedUpdateobsolete
Volumes Allows quickly finding components that have a volume
WantsSystemScene If true we'll additive load the system scene when this scene is loaded. Defaults to true. You might want to disable this for specific scenes, like menu scenes etc.

Methods

AddHook Call this method on this stage. This returns a disposable that will remove the hook when disposed.
ClearUnsavedChangesobsolete
CreateObject Create a GameObject on this scene. This doesn't require the scene to be the active scene.
Deserialize
Destroy Destroy this scene. After this you should never use it again.
EditorDraw
EditorTick
FindAllWithTag Find objects with tag
FindAllWithTags
FindInPhysics Find game objects in a sphere using physics.
GameTick
Get Gets the first object found of this type. This could be a component or a GameObjectSystem, or other stuff in the future.
GetAll Get all objects of this type. This could be a component or a GameObjectSystem, or other stuff in the future.
GetAllComponents Get all components of type. This can include interfaces. This function can only find enabled/active components.
GetSystem Get a specific system by type.
Load
LoadFromFile
ProcessDeletes Delete any GameObjects waiting to be deleted
Push Push this scene as the active scene, for a scope
RunEvent
Serialize
StartLoading

Static Methods

CreateContextMenu We should make this globally reachanle at some point. Should be able to draw icons using bitmaps etc too.
CreateEditorScene
DisableEditorRigidBodies
EnableEditorPhysics
EnableEditorRigidBody
GetSourceLocation Gets the source location for the given scene, used by action graph stack traces, and so the action graph editor knows which asset to save when editing a graph.
RenderToPixmap Render this camera to the target widget. Once you do this the target widget becomes "externally painted", so you won't be able to paint on it anymore with Qt's Paint stuff.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.