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.
void onEnterLocation () override
 Called when entering a location.
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

bool _shouldRenderShadows
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 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 layer.cpp.

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

Definition at line 179 of file layer.cpp.


Member Function Documentation

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

Obtain the render entry for the background item.

Definition at line 218 of file 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 226 of file 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 layer.cpp.

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

Called when entering a location.

Reimplemented from Stark::Resources::Object.

Definition at line 212 of file layer.cpp.

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

Reimplemented from Stark::Resources::Layer.

Definition at line 259 of file 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 layer.cpp.


Member Data Documentation

Definition at line 150 of file layer.h.

Definition at line 148 of file layer.h.

Definition at line 151 of file layer.h.

Definition at line 146 of file layer.h.

Definition at line 147 of file layer.h.

Definition at line 145 of file layer.h.


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


Generated on Sat Jul 13 2019 05:05:08 for ResidualVM by doxygen 1.7.1
curved edge   curved edge