Main Content
transform2matrix
Class: sim3d.scenario.ActorBehavior
Namespace: sim3d.scenario
Convert translation, rotation, and scale vectors to 4-by-4 pose matrix
Since R2023b
Syntax
matrix = transform2matrix(self, translation, rotation, scale)
Description
matrix = transform2matrix(self, translation, rotation, scale)
converts 3D
translation, rotation, and scale vectors used by Simulink®
3D Animation™ to a pose matrix used by RoadRunner. For more information about the input vectors, see sim3d.Actor
(Simulink 3D Animation).
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2023b