Radeon ProRender

rprShapeSetMotionTransform

Sets a time sample transform for a shape.

rpr_status rprShapeSetMotionTransform( rpr_shape shape,
  rpr_bool transpose,
  rpr_float const * transform,
  rpr_uint timeIndex);

Parameters

Parameter Description
shape rpr_shape to set motion transform on.
transpose Whether the matrix should be transposed (columns and rows swapped).
transform Row major 16 float transform matrix.
timeIndex Time ([0, 1] in frame time) to set the transform sample for.

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.