Click or drag to resize
TriangleInfo Class
Data struct to init a triangle physical body.
Inheritance Hierarchy
SystemObject
  GeonBit.ECS.Components.PhysicsTriangleInfo

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

The TriangleInfo type exposes the following members.

Constructors
  NameDescription
Public methodTriangleInfo
Create the info to create a triangle 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 fieldP1
Triangle point 1.
Public fieldP2
Triangle point 2.
Public fieldP3
Triangle point 3.
Top
See Also