v14.geometry.Geometry

Warning

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

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

The shape of the visual or collision object.

Parameters
empty: You can use the empty tag to make empty geometries.
box: Box shape
cylinder: Cylinder shape
heightmap: A heightmap based on a 2d grayscale image.
image: Extrude a set of boxes from a grayscale image.
mesh: Mesh shape
plane: Plane shape
sphere: Sphere shape

Nested Elements

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

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

Box shape.

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

Cylinder shape.

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

A heightmap based on a 2d grayscale image.

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

Extrude a set of boxes from a grayscale image.

v14.geometry.Geometry.Mesh([uri, submesh, scale])

Mesh shape.

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

Plane shape.

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

Sphere shape.