Click or drag to resize

PolygonShape Methods

The PolygonShape type exposes the following members.

Methods
  NameDescription
Public methodClone (Overrides ShapeClone.)
Public methodCompareTo
Public methodComputeAABB
Given a transform, compute the associated axis aligned bounding box for a child shape.
(Overrides ShapeComputeAABB(AABB, Transform, Int32).)
Protected methodComputeProperties (Overrides ShapeComputeProperties.)
Public methodComputeSubmergedArea (Overrides ShapeComputeSubmergedArea(Vector2, Single, Transform, Vector2).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRayCast (Overrides ShapeRayCast(RayCastOutput, RayCastInput, Transform, Int32).)
Public methodTestPoint (Overrides ShapeTestPoint(Transform, Vector2).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also