Radeon ProRender


Sets scale linear motion.


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 rprShapeSetScaleMotion( rpr_shape shape,
  rpr_float x,
  rpr_float y,
  rpr_float z);


Parameter Description
shape The shape to set linear motion for.
x X component of the scale.
y Y component of the scale.
z Z component of the scale.


Motion blur must be 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.