#include <raSceneManager.h>
|
| raSceneManager (raSmartPointer< raCamera > Camera) |
|
| ~raSceneManager (void) |
|
bool | Add (raRender *Object) |
|
bool | Remove (raRender *Object) |
|
bool | RemoveAt (int i) |
|
void | SetupEffectVariables (const raMatrix &pView, const raMatrix &pProj) |
|
void | SetupLights (ID3DX11Effect *pEffect, const raLight *pLight) |
|
void | Render (const raMatrix &pView, const raMatrix &pProj, const raLight *pLight, LPCSTR techniqueName="") |
|
virtual bool | Create (raSmartPointer< raDirectX > dx) |
|
virtual void | Destroy () |
|
virtual void | Render () |
|
virtual void | Update (float fTime, float fRunTime) |
|
int | GetNumItems () |
|
raRender * | GetItem (int index) |
|
raVector3 | GetLightPosition () |
|
void | SetLightDirection (const raVector3 &Dir) |
|
void | SetLightAmbientColor (const raColor &Amb) |
|
void | SetLightDiffuseColor (const raColor &Dif) |
|
void | SetLightPosition (const raVector3 &Pos) |
|
void | ShowAllObjects (bool show) |
|
void | RenderToTexture (raRenderScreen &renderScreen) |
|
void | RenderToTextureWithGlobalMaterial (raRenderScreen &renderScreen, LPCSTR techniqueName="") |
|
void | RenderToCubeMap (raRenderScreen &renderScreen, raMatrix &worldCenter) |
|
void | RenderToLightMap () |
|
void | RenderToLightMap (raRenderScreen &renderScreen) |
|
void | TranslateObject (LPCSTR objectName, float x, float y, float z) |
|
void | RotateObjectY (LPCSTR objectName, float angle) |
|
void | SetLightProjParams (float fFOV, float fAspect, float fNearPlane, float fFarPlane) |
|
void | SetCamera (raSmartPointer< raCamera > pCamera) |
|
void | SetLightPosition (int no, float x, float y, float z) |
|
void | SetLightDirection (int no, float x, float y, float z) |
|
void | SetLightAmbientColor (int no, float x, float y, float z) |
|
void | SetLightDiffuseColor (int no, float x, float y, float z) |
|
Definition at line 7 of file raSceneManager.h.
◆ raSceneManager()
◆ ~raSceneManager()
raSceneManager::~raSceneManager |
( |
void |
| ) |
|
◆ Add()
bool raSceneManager::Add |
( |
raRender * |
Object | ) |
|
◆ Create()
◆ Destroy()
◆ GetItem()
raRender * raSceneManager::GetItem |
( |
int |
index | ) |
|
◆ GetLightPosition()
raVector3 raSceneManager::GetLightPosition |
( |
| ) |
|
|
inline |
◆ GetNumItems()
int raSceneManager::GetNumItems |
( |
| ) |
|
|
inline |
◆ Remove()
bool raSceneManager::Remove |
( |
raRender * |
Object | ) |
|
◆ RemoveAt()
bool raSceneManager::RemoveAt |
( |
int |
i | ) |
|
◆ Render() [1/2]
◆ Render() [2/2]
void raSceneManager::Render |
( |
| ) |
|
|
virtual |
◆ RenderToCubeMap()
◆ RenderToLightMap() [1/2]
void raSceneManager::RenderToLightMap |
( |
| ) |
|
◆ RenderToLightMap() [2/2]
◆ RenderToTexture()
◆ RenderToTextureWithGlobalMaterial()
void raSceneManager::RenderToTextureWithGlobalMaterial |
( |
raRenderScreen & |
renderScreen, |
|
|
LPCSTR |
techniqueName = "" |
|
) |
| |
◆ RotateObjectY()
void raSceneManager::RotateObjectY |
( |
LPCSTR |
objectName, |
|
|
float |
angle |
|
) |
| |
|
inline |
◆ SetCamera()
◆ SetLightAmbientColor() [1/2]
void raSceneManager::SetLightAmbientColor |
( |
const raColor & |
Amb | ) |
|
|
inline |
◆ SetLightAmbientColor() [2/2]
void raSceneManager::SetLightAmbientColor |
( |
int |
no, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
◆ SetLightDiffuseColor() [1/2]
void raSceneManager::SetLightDiffuseColor |
( |
const raColor & |
Dif | ) |
|
|
inline |
◆ SetLightDiffuseColor() [2/2]
void raSceneManager::SetLightDiffuseColor |
( |
int |
no, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
◆ SetLightDirection() [1/2]
◆ SetLightDirection() [2/2]
void raSceneManager::SetLightDirection |
( |
int |
no, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
◆ SetLightPosition() [1/2]
◆ SetLightPosition() [2/2]
void raSceneManager::SetLightPosition |
( |
int |
no, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
◆ SetLightProjParams()
void raSceneManager::SetLightProjParams |
( |
float |
fFOV, |
|
|
float |
fAspect, |
|
|
float |
fNearPlane, |
|
|
float |
fFarPlane |
|
) |
| |
|
inline |
◆ SetupEffectVariables()
◆ SetupLights()
◆ ShowAllObjects()
void raSceneManager::ShowAllObjects |
( |
bool |
show | ) |
|
◆ TranslateObject()
void raSceneManager::TranslateObject |
( |
LPCSTR |
objectName, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
◆ Update()
void raSceneManager::Update |
( |
float |
fTime, |
|
|
float |
fRunTime |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: