Data
- class pystk2.RenderData
SuperTuxKart rendering output
- property depth numpy.ndarray property
Depth image of the kart (memoryview[float] screen_height x screen_width)
- property image numpy.ndarray property
Color image of the kart (memoryview[uint8] screen_height x screen_width x 3)
- property instance numpy.ndarray property
Instance labels (memoryview[uint32] screen_height x screen_width)
Each instance label is spit into an ObjectType and instance label.
Right shift (>>) the instance label by ObjectType.object_type_shift to retrieve the object type.