ViewportComponent Class Template
Component that groups viewport, scene, and camera bindings. More...
Declaration
Public Constructors Index
template <typename THandle> | |
| ViewportComponent (const ViewportHandle viewportHandle, const SceneHandle sceneHandle, const THandle cameraEntityHandle) | |
|
Constructs the component from viewport, scene, and camera handles. More... | |
Public Member Functions Index
template <typename THandle> | |
| SceneHandle | sceneHandle () const noexcept |
|
Returns the bound scene handle. More... | |
template <typename THandle> | |
| ViewportHandle | viewportHandle () const noexcept |
|
Returns the bound viewport handle. More... | |
template <typename THandle> | |
| THandle | cameraEntityHandle () const noexcept |
|
Returns the bound camera entity handle. More... | |
Private Member Attributes Index
template <typename THandle> | |
| SceneHandle | sceneHandle_ {} |
template <typename THandle> | |
| ViewportHandle | viewportHandle_ {} |
template <typename THandle> | |
| THandle | cameraEntityHandle_ {} |
Description
Component that groups viewport, scene, and camera bindings.
- Template Parameters
-
THandle Camera entity handle type.
Definition at line 25 of file ViewportComponent.ixx.
Public Constructors
ViewportComponent()
| inline explicit |
Constructs the component from viewport, scene, and camera handles.
- Parameters
-
viewportHandle Bound viewport handle.
sceneHandle Bound scene handle.
cameraEntityHandle Bound camera entity handle.
Definition at line 42 of file ViewportComponent.ixx.
Public Member Functions
cameraEntityHandle()
| inline noexcept |
Returns the bound camera entity handle.
Definition at line 57 of file ViewportComponent.ixx.
sceneHandle()
| inline noexcept |
Returns the bound scene handle.
Definition at line 47 of file ViewportComponent.ixx.
viewportHandle()
| inline noexcept |
Returns the bound viewport handle.
Definition at line 52 of file ViewportComponent.ixx.
Private Member Attributes
cameraEntityHandle_
|
Definition at line 31 of file ViewportComponent.ixx.
sceneHandle_
|
Definition at line 27 of file ViewportComponent.ixx.
viewportHandle_
|
Definition at line 29 of file ViewportComponent.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.