Link Search Menu Expand Document

arena-py API v0.11.1

arena.objects.ocean

Ocean object class to manage its properties in the ARENA: Flat-shaded ocean primitive.

Parameters
  • float amplitude: Wave amplitude. Defaults to '0.1' (optional)
  • float amplitudeVariance: Wave amplitude variance. Defaults to '0.3' (optional)
  • str color: Wave color. Defaults to '#7AD2F7' (optional)
  • float density: Density of waves. Defaults to '10' (optional)
  • float depth: Depth of the ocean area. Defaults to '10' (optional)
  • float opacity: Wave opacity. Defaults to '0.8' (optional)
  • float speed: Wave speed. Defaults to '1' (optional)
  • float speedVariance: Wave speed variance. Defaults to '2' (optional)
  • float width: Width of the ocean area. Defaults to '10' (optional)
Ocean(width=10, depth=10, **kwargs)
object_type = 'ocean'