MaterialX 1.38.2
|
Utility view handler for creating and providing View data for shader binding. More...
#include <ViewHandler.h>
Static Public Member Functions | |
Utility Functions | |
static ViewHandlerPtr | create () |
Create a new view handler. | |
static Matrix44 | createViewMatrix (const Vector3 &eye, const Vector3 &target, const Vector3 &up) |
Create a view matrix given an eye position, a target position and an up vector. | |
static Matrix44 | createPerspectiveMatrix (float left, float right, float bottom, float top, float nearP, float farP) |
Create a perpective projection matrix given a set of clip planes. | |
static Matrix44 | createOrthographicMatrix (float left, float right, float bottom, float top, float nearP, float farP) |
Create an orthographic projection matrix given a set of clip planes. | |
Public Attributes | |
Matrix44 | worldMatrix |
Matrix44 | viewMatrix |
Vector3 | viewPosition |
Vector3 | viewDirection |
Matrix44 | projectionMatrix |
Utility view handler for creating and providing View data for shader binding.