Box2D.Collision.Shapes.PolygonShape.GetVertex C# (CSharp) Method

GetVertex() public method

Get a vertex by index.
public GetVertex ( int index ) : Vec2
index int
return Box2D.Common.Vec2
        public Vec2 GetVertex(int index)
        {
            Debug.Assert(0 <= index && index < VertexCount);
            return Vertices[index];
        }