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

Cubios::Gfx::Background

Cubios::Gfx::Background Constructors Background Summary Constructs an object for rendering of solid color background Arguments r value of the red component g...

API / SDK 6.3 / C++ / gfx engine

Cubios::Gfx::Background

Constructors

Background

Summary

Constructs an object for rendering of solid color background

Arguments

  • r - value of the red component
  • g - value of the green component
  • b - value of the blue component

Synopsis

Cubios::Gfx::Background
CPP
1Background(uint8_t r, uint8_t g, uint8_t b)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Arguments

  • r - value of the red component
  • g - value of the green component
  • b - value of the blue component
  • a - value of the alpha component

Synopsis

Cubios::Gfx::Background
CPP
1Background(uint8_t r, uint8_t g, uint8_t b, uint8_t a)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Arguments

  • color - color value in ARGB8888 format

Synopsis

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

Public Methods

SetColor

Summary

Sets per-component values of a color

Arguments

  • r - value of the red component
  • g - value of the green component
  • b - value of the blue component
  • a - value of the alpha component

Output

Returns a pointer to the object to which the change was applied

Synopsis

Cubios::Gfx::Background
CPP
1Cubios::SceneObject* SetColor(uint8_t r, uint8_t g, uint8_t b, uint8_t a)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Arguments

  • r - value of the red component
  • g - value of the green component
  • b - value of the blue component

Output

Returns a pointer to the object to which the change was applied

Synopsis

Cubios::Gfx::Background
CPP
1Cubios::SceneObject* SetColor(uint8_t r, uint8_t g, uint8_t b)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Arguments

  • color - color value in ARGB8888 format

Output

Returns a pointer to the object to which the change was applied

Synopsis

Cubios::Gfx::Background
CPP
1Cubios::SceneObject* SetColor(uint32_t color)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Jump Grid

On This Page

ConstructorsBackgroundPublic MethodsSetColor
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::Gfx::Colors
API / SDK 6.3 / C++ / gfx engine
Next Node
Cubios::Gfx::Sprite
API / SDK 6.3 / C++ / gfx engine