Link Search Menu Expand Document

arena-py API v1.0.1

arena.objects.cube

@deprecated('Cube (=Box) Geometry (deprecated); Supported for Legacy reasons; Please use Box in new scenes')
class Cube(arena.objects.arena_object.Object):

Cube object class to manage its properties in the ARENA: Cube (=Box) Geometry (deprecated); Supported for Legacy reasons; Please use Box in new scenes

Parameters
  • float depth: depth Defaults to '1' (deprecated)
  • float height: height Defaults to '1' (deprecated)
  • int segmentsDepth: segments depth Defaults to '1' (deprecated)
  • int segmentsHeight: segments height Defaults to '1' (deprecated)
  • int segmentsWidth: segments width Defaults to '1' (deprecated)
  • float width: width Defaults to '1' (deprecated)
Cube(**kwargs)
object_type = 'cube'