WOWCube Docs logo
WOWCube Docs
Mission Control
Section Shortcuts
APIExamplesSourceWOWConnectChangelog
Filters
SDK and language defaults persist in cookies.
SDK version
Navigation Tree
Collapsed by default, focused on the active path.
Made byMcKay Seamons
GitHub
  1. Home
  2. Docs
  3. API
  4. Cubios::Scene
Mission NodeSDK 6.1C++gfx engine

Cubios::Scene

Cubios::Scene Constructors Scene Summary Constructs GFX Engine scene object Synopsis Scene() Public Methods CreateObject Summary Creates an instance of GFX s...

API / SDK 6.1 / C++ / gfx engine

Cubios::Scene

Constructors

Scene

Summary

Constructs GFX Engine scene object

Synopsis

Cubios::Scene
CPP
1Scene()
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Public Methods

CreateObject

Summary

Creates an instance of GFX scene object in the list of objects added to the scene

Arguments

  • obj - pointer to an instance of SceneObject

Output

Returns unique identifier of an object

Synopsis

Cubios::Scene
CPP
1uint32_t CreateObject(SceneObject* obj)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

CreateObjectWithID

Summary

Creates an instance of GFX scene object with given identifier in the list of objects added to the scene

Arguments

  • id - identifier of the object
  • obj - pointer to an instance of SceneObject

Output

Returns true if object has been added to the list successfully, otherwise false

Synopsis

Cubios::Scene
CPP
1bool CreateObjectWithID(uint32_t id, SceneObject* obj)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

CreateSound

Summary

Creates an instance of sound object in the list of objects added to the scene

Arguments

  • obj - pointer to an instance of sound object

Output

Returns unique identifier of an object

Synopsis

Cubios::Scene
CPP
1uint32_t CreateSound(Sound* obj)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

CreateSoundWithID

Summary

Creates an instance of sound object with given identifier in the list of objects added to the scene

Arguments

  • id - identifier of the object
  • obj - pointer to an instance of sound object

Output

Returns true if object has been added to the list successfully, otherwise false

Synopsis

Cubios::Scene
CPP
1bool CreateSoundWithID(uint32_t id, Sound* obj)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

DisposeObjectWithID

Summary

Removes object from the list of objects that are added to the scene and disposes the object

Arguments

  • id - identifier of the object

Output

Returns true if object has been removed to the list successfully, otherwise false

Synopsis

Cubios::Scene
CPP
1bool DisposeObjectWithID(uint32_t id)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

DisposeSoundWithID

Summary

Removes sound object from the list of objects that are added to the scene and disposes the object

Arguments

  • id - identifier of the object

Output

Returns true if object has been removed to the list successfully, otherwise false

Synopsis

Cubios::Scene
CPP
1bool DisposeSoundWithID(uint32_t id)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

DisposeAllObjects

Summary

Removes and disposes all objects from the scene

Synopsis

Cubios::Scene
CPP
1void DisposeAllObjects()
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Play

Summary

Plays sound object

Arguments

  • id - identifier of the sound object
  • volume - audio playback volume

Synopsis

Cubios::Scene
CPP
1void Play(uint32_t id, uint8_t volume)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Public Operators

operator [ ]

Summary

Operator is used for accessing scene object via their identifiers

Output

Returns a pointer to requested scene object

Synopsis

Cubios::Scene
CPP
1SceneObject* operator[](uint32_t)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Jump Grid

On This Page

ConstructorsScenePublic MethodsCreateObjectCreateObjectWithIDCreateSoundCreateSoundWithIDDisposeObjectWithIDDisposeSoundWithIDDisposeAllObjectsPlayPublic Operatorsoperator [ ]
Context Rail

Related nodes

Cubios::Math
API / SDK 6.1 / C++ / gfx engine
Cubios::Math::Vec2
API / SDK 6.1 / C++ / gfx engine
Cubios::Math::Transform
API / SDK 6.1 / C++ / gfx engine
Cubios::Math::Color
API / SDK 6.1 / C++ / gfx engine
Previous Node
Cubios::Sound
API / SDK 6.1 / C++ / gfx engine
Next Node
Cubios::SceneObject
API / SDK 6.1 / C++ / gfx engine