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. Source
  4. Background.h
Mission NodeSDK 6.2C++gfx

Background.h

SDK Source File: Background.h

Source / SDK 6.2 / C++ / gfx

Background.h

Background.h
CPP
1/* Copyright Statement:
2 *
3 * (C) 2021-2024 Cubios Inc. All rights reserved.
4 */
5
6#pragma once
7#include "SceneObject.h"
8#include <string>
9
10namespace Cubios
11{
12namespace Gfx
13{
14class Background: public Cubios::SceneObject
15{
16 public:
17
18 Background(uint32_t color);
19 Background(uint8_t R, uint8_t G, uint8_t B);
20 Background(uint8_t R, uint8_t G, uint8_t B, uint8_t A);
21
22 virtual ~Background();
23 void Render() override;
24
25 //Inplace setters
26 Cubios::SceneObject* SetColor(uint32_t color);
27 Cubios::SceneObject* SetColor(uint8_t R, uint8_t G, uint8_t B);
28 Cubios::SceneObject* SetColor(uint8_t R, uint8_t G, uint8_t B, uint8_t A);
29};
30}
31}
32
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.
Context Rail

Related nodes

AnimatedSprite.cpp
Source / SDK 6.2 / C++ / gfx
AnimatedSprite.h
Source / SDK 6.2 / C++ / gfx
Background.cpp
Source / SDK 6.2 / C++ / gfx
Colors.h
Source / SDK 6.2 / C++ / gfx
Previous Node
Background.cpp
Source / SDK 6.2 / C++ / gfx
Next Node
Colors.h
Source / SDK 6.2 / C++ / gfx