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::Screen
Mission NodeSDK 6.3C++gfx engine

Cubios::Screen

Cubios::Screen Constructors Screen Summary Constructs screen object Arguments id identifier of the screen Synopsis Screen(uint8 t id) Public Methods SetOrien...

API / SDK 6.3 / C++ / gfx engine

Cubios::Screen

Constructors

Screen

Summary

Constructs screen object

Arguments

  • id - identifier of the screen

Synopsis

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

Public Methods

SetOrientation

Summary

Sets current screen orientation mode

Arguments

  • mode - screen orientation mode

Synopsis

Cubios::Screen
CPP
1void SetOrientation(TOPOLOGY_orientation_mode_t mode)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Position

Summary

Gets current screen position

Output

Screen position value

Synopsis

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

Direction

Summary

Gets current screen direction

Output

Screen direction value

Synopsis

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

OppositeFace

Summary

Gets an index of a face that is opposite to the one the screen belongs to

Output

An index of the face

Synopsis

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

Face

Summary

Gets an index of a face the screen belongs to

Output

An index of the face

Synopsis

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

ID

Summary

Gets screen identifier

Output

Screen identifier

Synopsis

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

Angle

Summary

Gets current screen rotation angle

Output

Rotation angle, in degrees

Synopsis

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

Add

Summary

Adds an instance of GFX object to the rendering queue of the screen

Arguments

  • obj - pointer to an instance of GFX object

Output

Returns a pointer to the recently added object

Synopsis

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

AddCopy

Summary

Adds a copy of GFX object to the rendering queue of the screen

Arguments

  • obj - pointer to an instance of GFX object a copy of which will be added to the queue

Output

Returns a pointer to the recently added object

Synopsis

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

Begin

Summary

Initializes a commit of objects and is called before the immediate start of adding objects to the queue

Arguments

  • mode - screen orientation mode
  • autorotation - auto-rotation flag

Synopsis

Cubios::Screen
CPP
1void Begin(TOPOLOGY_orientation_mode_t mode = Cubios::ORIENTATION_MODE_MENU,bool autorotation = false)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

End

Summary

Finalizes the commit of objects to the queue and submits the added objects for rendering

Synopsis

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

IsAutorotation

Summary

Checks if auto-rotation mode is turned on

Output

Returns true if auto-rotation mode is on, otherwise false

Synopsis

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

Jump Grid

On This Page

ConstructorsScreenPublic MethodsSetOrientationPositionDirectionOppositeFaceFaceIDAngleAddAddCopyBeginEndIsAutorotation
Context Rail

Related nodes

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