C# Class andengine.entity.primitive.BaseRectangle

Inheritance: andengine.entity.shape.RectangularShape
显示文件 Open project: jamesburton/AndEngine.net

Public Methods

Method Description
BaseRectangle ( float pX, float pY, float pWidth, float pHeight )
BaseRectangle ( float pX, float pY, float pWidth, float pHeight, andengine.opengl.vertex.RectangleVertexBuffer pRectangleVertexBuffer )

Protected Methods

Method Description
GetVertexBuffer ( ) : andengine.opengl.vertex.RectangleVertexBuffer
OnUpdateVertexBuffer ( ) : void

Method Details

BaseRectangle() public method

public BaseRectangle ( float pX, float pY, float pWidth, float pHeight )
pX float
pY float
pWidth float
pHeight float

BaseRectangle() public method

public BaseRectangle ( float pX, float pY, float pWidth, float pHeight, andengine.opengl.vertex.RectangleVertexBuffer pRectangleVertexBuffer )
pX float
pY float
pWidth float
pHeight float
pRectangleVertexBuffer andengine.opengl.vertex.RectangleVertexBuffer

GetVertexBuffer() protected method

protected GetVertexBuffer ( ) : andengine.opengl.vertex.RectangleVertexBuffer
return andengine.opengl.vertex.RectangleVertexBuffer

OnUpdateVertexBuffer() protected method

protected OnUpdateVertexBuffer ( ) : void
return void