Click or drag to resize
Box2dInfo Class
Data struct to init a box-2d physical body.
Inheritance Hierarchy
SystemObject
  GeonBit.ECS.Components.PhysicsBox2dInfo

Namespace:  GeonBit.ECS.Components.Physics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class Box2dInfo : IBodyShapeInfo

The Box2dInfo type exposes the following members.

Constructors
  NameDescription
Public methodBox2dInfo
Create the info to create a box2d body.
Top
Properties
  NameDescription
Public propertyShapeType
Get shape type enum.
Top
Methods
  NameDescription
Public methodCreateShape
Create and return a collision shape of this type.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldBaseSize
Box basic size.
Top
See Also