Radeon ProRender


Sets angular motion for a shape object.


DEPRECATED - will be removed in the future. Please use rprShapeSetMotionTransformCount and rprShapeSetMotionTransform instead. RPR_SHAPE_LINEAR_MOTION, RPR_SHAPE_ANGULAR_MOTION and RPR_SHAPE_SCALE_MOTION are also DEPRECATED.

rpr_status rprShapeSetAngularMotion( rpr_shape shape,
  rpr_float x,
  rpr_float y,
  rpr_float z,
  rpr_float w);


Parameter Description
shape The shape to set angular motion for.
x X component of the rotation axis.
y Y component of the rotation axis.
z Z component of the rotation axis.
w W rotation angle in radians.


This only has an effect if motion blur is enabled with camera exposure.


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.