rprShapeSetTransform
Sets world transform for a shape.
rpr_status rprShapeSetTransform( |
rpr_shape shape, |
rpr_bool transpose, |
|
rpr_float const * transform); |
Parameters
Parameter |
Description |
---|---|
shape |
The shape 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.