This is an object class that sets up a camera to be symmetrical with a selected camera. It's used for rendering planar reflections.
More...
#include <Camera/CCameraReflect.h>
|
|
CCamera * | m_camera |
| | Pointer to the main camera component being updated with reflected view.
|
|
CCamera * | m_targetCamera |
| | The source camera to reflect.
|
|
core::plane3df | m_plane |
| | The world plane to reflect against.
|
|
CGameObject * | m_gameObject |
|
bool | m_enable |
|
bool | m_serializable |
|
std::vector< CComponentSystem * > | m_linkComponent |
|
|
static int | useComponent (CComponentSystem *used) |
|
void | setOwner (CGameObject *obj) |
This is an object class that sets up a camera to be symmetrical with a selected camera. It's used for rendering planar reflections.
◆ getTargetCamera()
| CCamera * Skylicht::CCameraReflect::getTargetCamera |
( |
| ) |
|
|
inline |
Gets the current source camera.
- Returns
- Pointer to CCamera.
◆ initComponent()
| virtual void Skylicht::CCameraReflect::initComponent |
( |
| ) |
|
|
virtual |
◆ lateUpdate()
| virtual void Skylicht::CCameraReflect::lateUpdate |
( |
| ) |
|
|
virtual |
◆ setPlane()
| void Skylicht::CCameraReflect::setPlane |
( |
const core::plane3df & | p | ) |
|
|
inline |
Sets the reflection plane in world space.
- Parameters
-
◆ setTargetCamera()
| void Skylicht::CCameraReflect::setTargetCamera |
( |
CCamera * | cam | ) |
|
Sets the source camera to be reflected.
- Parameters
-
| cam | Pointer to the source camera. |
◆ updateComponent()
| virtual void Skylicht::CCameraReflect::updateComponent |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file: