Couch
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Skybox Class Reference
Inheritance diagram for Skybox:
Inheritance graph
[legend]
Collaboration diagram for Skybox:
Collaboration graph
[legend]

Public Member Functions

virtual Name GetType () const
 
virtual SkyboxCreate ()
 
virtual SkyboxDuplicate ()
 
virtual SkyboxInstance ()
 
void DrawSkybox ()
 
- Public Member Functions inherited from Node
 Node (bool isPrefab)
 
bool IsPrefab ()
 
NodeList GetChildren ()
 
void AddChild (Node *child)
 
NodeGetParent ()
 
void QueueFree ()
 
void DoFree ()
 

Static Public Member Functions

static SkyboxFromFiles (const char *right, const char *left, const char *top, const char *bottom, const char *front, const char *back)
 
- Static Public Member Functions inherited from Node
static NodeGetRoot ()
 

Public Attributes

Id id
 

Member Function Documentation

◆ Create()

Skybox * Skybox::Create ( )
virtual

Allocates a new "default" version of this node.

Returns
A reference to the node.

Reimplemented from Node.

◆ Duplicate()

Skybox * Skybox::Duplicate ( )
virtual

Copies the properties of this node to a newly allocated node, created via Create. Subclasses should override this to copy additional class attributes

Returns
A reference to the duplicate

Reimplemented from Node.

◆ Instance()

Skybox * Skybox::Instance ( )
virtual

Creates an instanced version of this node, by calling Duplicate. Subclasses should override this to perform neccesary tasks for instantiation, i.e. adding a physic object to the physics world. Any children of this node will also be instanced.

Returns
an instanced version of this node.

Reimplemented from Node.


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