Table of Contents

Enum b2ShapeType

Namespace
Gym.Box2D
Assembly
Gym.Environments.dll

The kind of a b2Shape (C++ b2Shape::Type); the contact factory dispatches on the pair.

public enum b2ShapeType
Extension Methods

Fields

e_circle = 0

A circle (b2CircleShape).

e_edge = 1

A line segment (b2EdgeShape).

e_polygon = 2

A convex polygon (b2PolygonShape).

e_chain = 3

A chain of edges; not part of this port, as no Gymnasium env uses one.

e_typeCount = 4

The number of shape kinds.