v12.visual.Visual

Warning

This class is autogenerated. More detailed documentation can be found in the SDFormat spec.

class v12.visual.Visual(cast_shadows=True, laser_retro=0.0, transparency=0.0, pose='0 0 0 0 0 0', material=None, geometry=None, name=None)

The visual properties of the link.

This element specifies the shape of the object (box, cylinder, etc.) for visualization purposes.

Parameters
cast_shadows: If true the visual will cast shadows.
laser_retro: will be implemented in the future release.
transparency: The amount of transparency( 0=opaque, 1 = fully

transparent)

pose: Origin of the visual relative to its parent.
material: The material of the visual element.
geometry: The shape of the visual or collision object.
name: Unique name for the visual element within the scope of the

parent link.

Nested Elements

Note that only complex elements are listed here. Elements that resolve to simple types (int, str, bool) are inlined.

v12.visual.Visual.Material([script, shader, ...])

The material of the visual element.