|
float | getNear () const |
|
float | getFar () const |
|
const Frustum & | getFrustum () |
|
nkMemory::StringView | getName () const |
|
float | getFov () const |
|
float | getOrthographicHeight () const |
|
PROJECTION_TYPE | getProjectionType () const |
|
float | getAspectRatio () const |
|
bool | getAutoUpdateOnContextSwitch () const |
|
bool | getHidden () const |
|
const nkMaths::Matrix & | getViewMatrix () const |
|
const nkMaths::Matrix & | getProjectionMatrix () const |
|
nkMaths::Matrix | getViewProjMatrix () const |
|
virtual void | setPositionRelative (const nkMaths::Vector &value) override |
|
virtual void | setPositionAbsolute (const nkMaths::Vector &value) override |
|
virtual void | translateRelative (const nkMaths::Vector &value) override |
|
virtual void | translateAbsolute (const nkMaths::Vector &value) override |
|
virtual void | setOrientationRelative (const nkMaths::Quaternion &value) override |
|
virtual void | setOrientationAbsolute (const nkMaths::Quaternion &value) override |
|
virtual void | rotateRelative (const nkMaths::Quaternion &value) override |
|
virtual void | rotateAbsolute (const nkMaths::Quaternion &value) override |
|
virtual void | setScaleRelative (const nkMaths::Vector &value) override |
|
virtual void | setScaleAbsolute (const nkMaths::Vector &value) override |
|
virtual void | applyScale (const nkMaths::Vector &value) override |
|
void | setNear (float value) |
|
void | setFar (float value) |
|
void | setName (const nkMemory::StringView &name) |
|
void | setFov (float radianValue) |
|
void | setOrthographicHeight (float value) |
|
void | setProjectionType (PROJECTION_TYPE value) |
|
void | setAspectRatio (float widthOnHeight) |
|
void | prepareForContext (RenderContext *context) |
|
void | setAutoUpdateOnContextSwitch (bool value) |
|
void | setHidden (bool value) |
|
void | updateViewMatrix () |
|
void | updateProjectionMatrix () |
|
void | lookAt (const nkMaths::Vector &point, const nkMaths::Vector &enforcedUp=nkMaths::Vector(0, 0, 0, 0)) |
|
void | getNearPlanePoints (nkMaths::Vector &a, nkMaths::Vector &b, nkMaths::Vector &c, nkMaths::Vector &d) |
|
void | getFarPlanePoints (nkMaths::Vector &a, nkMaths::Vector &b, nkMaths::Vector &c, nkMaths::Vector &d) |
|
void | getFrustumCornersDirectionsWorld (nkMaths::Vector &a, nkMaths::Vector &b, nkMaths::Vector &c, nkMaths::Vector &d) |
|
void | getFrustumCornersDirectionsView (nkMaths::Vector &a, nkMaths::Vector &b, nkMaths::Vector &c, nkMaths::Vector &d) |
|
nkMaths::Vector | getDirectionAtPixelWorld (int x, int y, RenderContext *fromContext=nullptr) |
|
nkMaths::Vector | getDirectionAtScreenCoordWorld (float x, float y) |
|
nkMaths::Vector | getDirectionAtPixelView (int x, int y, RenderContext *fromContext=nullptr) |
|
nkMaths::Vector | getDirectionAtScreenCoordView (float x, float y) |
|
virtual void | exportClassToTree (nkExport::Node *rootNode) override |
|
virtual void | importClassFromTree (nkExport::Node *rootNode) override |
|
virtual | ~Node () |
|
nkMaths::Vector | getPositionRelative () const |
|
nkMaths::Vector | getPositionAbsolute () |
|
nkMaths::Quaternion | getOrientationRelative () const |
|
nkMaths::Quaternion | getOrientationAbsolute () |
|
nkMaths::Vector | getScaleRelative () const |
|
nkMaths::Vector | getScaleAbsolute () |
|
void | setRelativeTransform (const nkMaths::Matrix &value) |
|
void | setAbsoluteTransform (const nkMaths::Matrix &value) |
|
nkMaths::Matrix | getRelativeTransform () |
|
nkMaths::Matrix | getAbsoluteTransform () |
|
void | updateTransformations () |
|
void | dispatchDirtyTransform () |
|
nkMaths::Vector | getAbsoluteUp () |
|
nkMaths::Vector | getAbsoluteFront () |
|
nkMaths::Vector | getAbsoluteRight () |
|
void | setParentNode (Node *parent) |
|
Node * | getParentNode () const |
|
Node * | getChildNode (unsigned int index) const |
|
unsigned int | getNumChildNode () const |
|
void | setName (nkMemory::StringView value) |
|
nkMemory::StringView | getName () const |
|
bool | getHidden () const |
|
void | setHidden (bool value) |
|
void | addEntityToTrack (Entity *entity) |
|
void | stopEntityTracking (Entity *entity) |
|
unsigned int | getTrackedEntityCount () const |
|
Entity * | getTrackedEntity (unsigned int index) const |
|
void | registerListener (NodeChangeListener *listener) |
|
void | unregisterListener (NodeChangeListener *listener) |
|
| Exportable () noexcept |
|
virtual | ~Exportable () |
|
Offers all controls to model a camera.
See CameraManager::createOrRetrieve() or Camera::create() for instantiation.