Click or drag to resize
CylinderInfo Class
Data struct to init a cylinder physical body.
Inheritance Hierarchy
SystemObject
  GeonBit.ECS.Components.PhysicsCylinderInfo

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

The CylinderInfo type exposes the following members.

Constructors
  NameDescription
Public methodCylinderInfo(Vector3, CylinderDirectionAxis)
Create the info to create a cylinder body.
Public methodCylinderInfo(Single, Single, CylinderDirectionAxis)
Create the info to create a cylinder 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 fieldAxis
Cylinder align axis.
Public fieldHalfExtent
Half extent of the cylinder on X, Y and Z axis.
Top
See Also