rprLightSetTransform

Sets world transform for a light.

rpr_status rprLightSetTransform(

rpr_light light,

rpr_bool transpose,

rpr_float const * transform);

Parameters

Parameter

Description

light

The light to set the transform for.

transpose

Determines whether the basis vectors are in columns (false) or in rows (true) of the matrix.

transform

An array of 16  rpr_float values (the major form of storing them is in rows).

Notes

Regular matrix transformation in 3D space. Transpose describes the layout of a matrix in memory: true if it is stored in rows, false if it is stored in columns.

Return

Returns RPR_SUCCESS in case of success, or RPR_ERROR code if a problem was encountered.

To learn how to handle errors in AMD Radeon ProRender SDK, see Error Handling.