Open 3D Engine ROS2 Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Populates a given entity with all the contents of the <visual> tag in robot description. More...
#include <VisualsMaker.h>
Public Member Functions | |
VisualsMaker (const AZStd::shared_ptr< Utils::UrdfAssetMap > &urdfAssetsMapping) | |
AZStd::vector< AZ::EntityId > | AddVisuals (const sdf::Link *link, AZ::EntityId entityId) const |
Populates a given entity with all the contents of the <visual> tag in robot description.
AZStd::vector<AZ::EntityId> ROS2::VisualsMaker::AddVisuals | ( | const sdf::Link * | link, |
AZ::EntityId | entityId | ||
) | const |
Add zero, one or many visual elements to a given entity (depending on link content). Note that a sub-entity will be added to hold each visual (since they can have different transforms).
link | A parsed URDF tree link node which could hold information about visuals. |
entityId | A non-active entity which will be affected. |