Ros3dArrow

An Arrow is a THREE object that can be used to display an arrow model. It is a wrapper for ROS3D.Arrow.

Props

Name Type Default value Required? Description
visible Boolean true No Visibility of this object
x Number 0 No Origin x
y Number 0 No Origin y
z Number 0 No Origin z
directionX Number 1 No Direction x
directionY Number 0 No Direction y
directionZ Number 0 No Direction z
length Number - Yes (optional) - the length of the arrow
headLength Number 1 No The head length of the arrow
shaftDiameter Number 0.2 No The shaft diameter of the arrow
headDiameter Number 0.05 No The head diameter of the arrow
color String #00ff00 No The color to use for this arrow

Data

Name Type Default value Description
object ROS3D.Arrow - Handle for the internal ROS3D.Arrow

An Arrow is a THREE object that can be used to display an arrow model. It is a wrapper for ROS3D.Arrow.

Props

Name Type Default value Required? Description
visible Boolean true No Visibility of this object
x Number 0 No Origin x
y Number 0 No Origin y
z Number 0 No Origin z
directionX Number 1 No Direction x
directionY Number 0 No Direction y
directionZ Number 0 No Direction z
length Number - Yes (optional) - the length of the arrow
headLength Number 1 No The head length of the arrow
shaftDiameter Number 0.2 No The shaft diameter of the arrow
headDiameter Number 0.05 No The head diameter of the arrow
color String #00ff00 No The color to use for this arrow

Data

Name Type Default value Description
object ROS3D.Arrow - Handle for the internal ROS3D.Arrow