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

Cubios::Gfx::SpriteAtlasElement

Cubios::Gfx::SpriteAtlasElement Constructors SpriteAtlasElement Summary Constructs an sprite atlas element object Arguments host pointer to an instance of Sp...

API / SDK 6.3 / C++ / gfx engine
VersionSDK 6.3SDK 6.2SDK 6.1
Report issue

Cubios::Gfx::SpriteAtlasElement

Constructors

SpriteAtlasElement

Summary

Constructs an sprite atlas element object

Arguments

  • host - pointer to an instance of SpriteAtlas class to which the element will be added
  • rc - rectangular area on the source texture that will be cut out and added as a sprite

Synopsis

Cubios::Gfx::SpriteAtlasElement
CPP
1SpriteAtlasElement(SpriteAtlasBase* host, const Cubios::Math::Rect2& rc)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Public Methods

Rect

Output

Returns a pointer to an object containing rectangular area on the source texture that is used as a sprite

Synopsis

Cubios::Gfx::SpriteAtlasElement
CPP
1Cubios::Math::Rect2* Rect()
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Virtual Methods

Render

Summary

Implements sprite atlas element rendering

Output

Returns true if function call succeeds, otherwise false.

Synopsis

Cubios::Gfx::SpriteAtlasElement
CPP
1void Render() override
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Copy

Summary

Creates a copy of the sprite atlas element

Arguments

  • id - new sprite identifier
  • rc - rectangular area on the source texture that will be cut out and added as a sprite

Output

Returns a pointer to the copied object.

Synopsis

Cubios::Gfx::SpriteAtlasElement
CPP
1virtual SpriteAtlasElement* Copy()
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Trust & provenance

Document status

Source
SpriteAtlasElement · 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::SpriteAtlasElementClass
ConstructorsMember
SpriteAtlasElementMember
Public MethodsMember
RectMember
Virtual MethodsMember
RenderMember
CopyMember

Used in SDK snippets

Copy→GfxSpriteAtlas.cppCopy→GfxSpriteAtlas.cppRender→Bitmaps.cppRender→main.pwnRender→Bitmaps.cpp
Jump Grid

On This Page

ConstructorsSpriteAtlasElementPublic MethodsRectVirtual MethodsRenderCopy
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::SpriteAtlas
API / SDK 6.3 / C++ / gfx engine
Next Node
Cubios::Gfx::AnimatedSprite
API / SDK 6.3 / C++ / gfx engine