pantheonrl.envs.blockworldgym.rendering.Transform

class Transform(translation=(0.0, 0.0), rotation=0.0, scale=(1, 1))[source]

Bases: Attr

Class defining an opengl transform

Methods

disable

Disable the attribute

enable

Enable the attribute

set_rotation

Set the rotation

set_scale

Set the scale

set_translation

Set the translation

disable()[source]

Disable the attribute

enable()[source]

Enable the attribute

set_rotation(new)[source]

Set the rotation

set_scale(newx, newy)[source]

Set the scale

set_translation(newx, newy)[source]

Set the translation