v12.geometry.Geometry

Warning

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

class v12.geometry.Geometry(box=None, sphere=None, cylinder=None, mesh=None, plane=None, image=None, heightmap=None)

The shape of the visual or collision object.

Parameters
box: Box shape
sphere: Sphere shape
cylinder: Cylinder shape
mesh: Mesh shape
plane: Plane shape
image: Extrude a set of boxes from a grayscale image.
heightmap: A heightmap based on a 2d grayscale image.

Nested Elements

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

v12.geometry.Geometry.Box([size])

Box shape.

v12.geometry.Geometry.Cylinder([radius, length])

Cylinder shape.

v12.geometry.Geometry.Heightmap([uri, size, ...])

A heightmap based on a 2d grayscale image.

v12.geometry.Geometry.Image([uri, scale, ...])

Extrude a set of boxes from a grayscale image.

v12.geometry.Geometry.Mesh([filename, uri, ...])

Mesh shape.

v12.geometry.Geometry.Plane([normal, size])

Plane shape.

v12.geometry.Geometry.Sphere([radius])

Sphere shape.