FarseerPhysics.Collision.Shapes.PolygonShape.PolygonShape C# (CSharp) Method

PolygonShape() public method

Initializes a new instance of the PolygonShape class.
public PolygonShape ( Vertices vertices, float density ) : System.Diagnostics
vertices Vertices The vertices.
density float The density.
return System.Diagnostics
		public PolygonShape( Vertices vertices, float density ) : base( density )
		{
			shapeType = ShapeType.Polygon;
			_radius = Settings.polygonRadius;

			this.vertices = vertices;
		}

Same methods

PolygonShape::PolygonShape ( ) : System.Diagnostics
PolygonShape::PolygonShape ( float density ) : System.Diagnostics