#include <optix_types.h>
Public Attributes | |
OptixTraversableHandle | child |
OptixMotionOptions | motionOptions |
unsigned int | pad [3] |
float | transform [2][12] |
Represents a matrix motion transformation.
The device address of instances of this type must be a multiple of OPTIX_TRANSFORM_BYTE_ALIGNMENT.
This struct, as defined here, handles only N=2 motion keys due to the fixed array length of its transform member. The following example shows how to create instances for an arbitrary number N of motion keys:
OptixTraversableHandle OptixMatrixMotionTransform::child |
The traversable that is transformed by this transformation.
OptixMotionOptions OptixMatrixMotionTransform::motionOptions |
The motion options for this transformation. Must have at least two motion keys.
unsigned int OptixMatrixMotionTransform::pad[3] |
Padding to make the transformation 16 byte aligned.
float OptixMatrixMotionTransform::transform[2][12] |
Affine object-to-world transformation as 3x4 matrix in row-major layout.