PixelLightAPI  .
Public Types | Public Member Functions
PLScene::SNCellPortal Class Reference

Cell-portal scene node. More...

#include <SNCellPortal.h>

Inheritance diagram for PLScene::SNCellPortal:
Inheritance graph
[legend]

List of all members.

Public Types

enum  EFlags { NoSeeThrough = 1<<10, NoPassThrough = 1<<11 }
 Scene node flags (SceneNode flags extension) More...

Public Member Functions

PLS_API SNCellPortal ()
 Default constructor.
virtual PLS_API ~SNCellPortal ()
 Destructor.
PLS_API SCCellGetTargetCellInstance ()
 Returns the cell the cell-portal links to.
PLS_API const PLMath::Matrix3x4GetWarpMatrix ()
 Returns the warp matrix.

Detailed Description

Cell-portal scene node.

Remarks:
A cell-portal allows the viewer to look from one into another cell.

Member Enumeration Documentation

Scene node flags (SceneNode flags extension)

Enumerator:
NoSeeThrough 

It's not possible to 'see through' this cell-portal into the target cell (example usage: closed door)

NoPassThrough 

It's not possible to 'pass through' this cell-portal into the target cell (example usage: window)

Reimplemented from PLScene::SceneNode.


Constructor & Destructor Documentation

Default constructor.

virtual PLS_API PLScene::SNCellPortal::~SNCellPortal ( ) [virtual]

Destructor.


Member Function Documentation

Returns the cell the cell-portal links to.

Returns:
The cell the cell-portal links to, a null pointer on error (maybe there's no node with the cell name or this node is no cell)

Returns the warp matrix.

Returns:
The warp matrix
Remarks:
The warp matrix transforms from this cell space into target cell space.
Note:
  • Is updated automatically

Reimplemented from PLScene::SNPortal.


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


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:25
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported