ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::Resources::Layer3D Class Reference

A 3D layer. More...

#include <layer.h>

Inheritance diagram for Stark::Resources::Layer3D:
Collaboration diagram for Stark::Resources::Layer3D:

List of all members.

Public Member Functions

 Layer3D (Object *parent, byte subType, uint16 index, const Common::String &name)
virtual ~Layer3D ()
void readData (Formats::XRCReadStream *stream) override
 Deserialize the resource static data and initial state.
void onAllLoaded () override
 Called when the resource sub-tree is entirely loaded.
Gfx::RenderEntryArray listRenderEntries () override
 Obtain the render entries for all items, including the background.
Gfx::RenderEntrygetBackgroundRenderEntry ()
 Obtain the render entry for the background item.

Protected Member Functions

void printData () override

Protected Attributes

uint32 _field_54
uint32 _maxShadowLength
float _nearClipPlane
float _farClipPlane
Item_backgroundItem
Common::Array< Item * > _items

Detailed Description

A 3D layer.

3D layers contain 3D positioned items, a camera and a floorfield

Definition at line 126 of file stark/resources/layer.h.


Constructor & Destructor Documentation

Stark::Resources::Layer3D::Layer3D ( Object parent,
byte  subType,
uint16  index,
const Common::String name 
)

Definition at line 182 of file stark/resources/layer.cpp.

Stark::Resources::Layer3D::~Layer3D (  )  [virtual]

Definition at line 179 of file stark/resources/layer.cpp.


Member Function Documentation

Gfx::RenderEntry * Stark::Resources::Layer3D::getBackgroundRenderEntry (  ) 

Obtain the render entry for the background item.

Definition at line 212 of file stark/resources/layer.cpp.

Gfx::RenderEntryArray Stark::Resources::Layer3D::listRenderEntries (  )  [override, virtual]

Obtain the render entries for all items, including the background.

Implements Stark::Resources::Layer.

Definition at line 220 of file stark/resources/layer.cpp.

void Stark::Resources::Layer3D::onAllLoaded (  )  [override, virtual]

Called when the resource sub-tree is entirely loaded.

Allows to load data from other nodes.

Reimplemented from Stark::Resources::Object.

Definition at line 202 of file stark/resources/layer.cpp.

void Stark::Resources::Layer3D::printData (  )  [override, protected, virtual]

Reimplemented from Stark::Resources::Layer.

Definition at line 256 of file stark/resources/layer.cpp.

void Stark::Resources::Layer3D::readData ( Formats::XRCReadStream stream  )  [override, virtual]

Deserialize the resource static data and initial state.

Reimplemented from Stark::Resources::Layer.

Definition at line 191 of file stark/resources/layer.cpp.


Member Data Documentation

Definition at line 147 of file stark/resources/layer.h.

Definition at line 146 of file stark/resources/layer.h.


The documentation for this class was generated from the following files:


Generated on Sat Mar 23 2019 05:09:13 for ResidualVM by doxygen 1.7.1
curved edge   curved edge