Unofficial community resource. Not affiliated with, maintained by, or endorsed by WOWCube / Cubios Inc. Cubios Inc. does not guarantee the accuracy or completeness of this content. Official WOWCube Development Kit

WOWCube Docs logo
WOWCube Docs
Mission Control
Section Shortcuts
APIExamplesSourceWOWConnectChangelogDeveloper Toolkit
Filters
SDK and language defaults persist in cookies.
SDK version
Navigation Tree
Collapsed by default, focused on the active path.

Unofficial community resource. Not affiliated with, maintained by, or endorsed by WOWCube / Cubios Inc. Cubios Inc. does not guarantee the accuracy or completeness of this content. For official documentation and the SDK, see the WOWCube Development Kit.

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
VersionSDK 6.3SDK 6.2SDK 6.1
Report issue

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.

Trust & provenance

Document status

Source
Background · installed SDK headers
Classification
API reference
Verification
Community-maintained · verify against installed SDK

Catalog updated Oct 20, 2018

Structured index

Symbols on this page

Names and signatures are extracted from this SDK-derived page. Signature hashes detect accidental changes.

Cubios::Gfx::BackgroundClass
ConstructorsMember
BackgroundMember
Public MethodsMember
SetColorMember

Used in SDK snippets

Background→GfxText.cppSetColor→GfxText.cppBackground→GfxText.cppSetColor→GfxText.cppBackground→GfxText.cpp
Jump Grid

On This Page

ConstructorsBackgroundPublic MethodsSetColor
Back to top ↑
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