HPL3/Amnesia: Rebirth/Scripting/cViewport
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
![]() |
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 AddGuiSet
- 3.2 AddRendererCallback
- 3.3 AddViewportCallback
- 3.4 GetCamera
- 3.5 GetFrameBuffer
- 3.6 GetPosition
- 3.7 GetPostEffectComposite
- 3.8 GetRenderer
- 3.9 GetRenderSettings
- 3.10 GetSize
- 3.11 GetToneMappingEffect
- 3.12 GetWorld
- 3.13 IsActive
- 3.14 IsListener
- 3.15 IsVisible
- 3.16 RemoveGuiSet
- 3.17 RemoveRendererCallback
- 3.18 RemoveViewportCallback
- 3.19 SetActive
- 3.20 SetCamera
- 3.21 SetFrameBuffer
- 3.22 SetIsListener
- 3.23 SetPosition
- 3.24 SetPostEffectComposite
- 3.25 SetRenderer
- 3.26 SetSize
- 3.27 SetVisible
- 3.28 SetWorld
- 4 References
Fields
cViewport has no public fields.
Functions
Details
AddGuiSet
AddRendererCallback
void AddRendererCallback(iRendererCallback@ apCallback)
Parameters
- apCallback (iRendererCallback@) —
Returns:
- void
AddViewportCallback
void AddViewportCallback(iViewportCallback@ apCallback)
Parameters
- apCallback (iViewportCallback@) —
Returns:
- void
GetCamera
cCamera@ GetCamera()
Returns:
- cCamera@—
GetFrameBuffer
iFrameBuffer@ GetFrameBuffer()
Returns:
- iFrameBuffer@—
GetPosition
const cVector2l& GetPosition()
Returns:
- const cVector2l&—
GetPostEffectComposite
cPostEffectComposite@ GetPostEffectComposite()
Returns:
- cPostEffectComposite@—
GetRenderer
iRenderer@ GetRenderer()
Returns:
- iRenderer@—
GetRenderSettings
cRenderSettings@ GetRenderSettings()
Returns:
- cRenderSettings@—
GetSize
const cVector2l& GetSize()
Returns:
- const cVector2l&—
GetToneMappingEffect
cPostEffect_ToneMapping@ GetToneMappingEffect()
Returns:
- cPostEffect_ToneMapping@—
GetWorld
cWorld@ GetWorld()
Returns:
- cWorld@—
IsActive
bool IsActive()
Returns:
- bool—
IsListener
bool IsListener()
Returns:
- bool—
IsVisible
bool IsVisible()
Returns:
- bool—
RemoveGuiSet
RemoveRendererCallback
void RemoveRendererCallback(iRendererCallback@ apCallback)
Parameters
- apCallback (iRendererCallback@) —
Returns:
- void
RemoveViewportCallback
void RemoveViewportCallback(iViewportCallback@ apCallback)
Parameters
- apCallback (iViewportCallback@) —
Returns:
- void
SetActive
void SetActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCamera
SetFrameBuffer
void SetFrameBuffer(iFrameBuffer@ apFrameBuffer)
Parameters
- apFrameBuffer (iFrameBuffer@) —
Returns:
- void
SetIsListener
void SetIsListener(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetPosition
SetPostEffectComposite
void SetPostEffectComposite(cPostEffectComposite@ apPostEffectComposite)
Parameters
- apPostEffectComposite (cPostEffectComposite@) —
Returns:
- void
SetRenderer
SetSize
SetVisible
void SetVisible(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetWorld
void SetWorld(cWorld@ apWorld,
bool abResetEffects = false)
Parameters
- apWorld (cWorld@) —
- abResetEffects (bool) —
Returns:
- void