C# Class andengine.entity.shape.RectangularShape

Inheritance: GLShape
Afficher le fichier Open project: jamesburton/AndEngine.net Class Usage Examples

Protected Properties

Свойство Type Description
mBaseHeight float
mBaseWidth float
mHeight float
mWidth float

Méthodes publiques

Méthode Description
CollidesWith ( IShape pOtherShape ) : bool
Contains ( float pX, float pY ) : bool
ConvertLocalToSceneCoordinates ( float pX, float pY ) : float[]
ConvertSceneToLocalCoordinates ( float pX, float pY ) : float[]
GetBaseHeight ( ) : float
GetBaseWidth ( ) : float
GetHeight ( ) : float
GetSceneCenterCoordinates ( ) : float[]
GetVertexBuffer ( ) : andengine.opengl.vertex.VertexBuffer
GetWidth ( ) : float
RectangularShape ( float pX, float pY, float pWidth, float pHeight, andengine.opengl.vertex.VertexBuffer pVertexBuffer )
Reset ( ) : void
SetBaseSize ( ) : void
SetHeight ( float pHeight ) : void
SetSize ( float pWidth, float pHeight ) : void
SetWidth ( float pWidth ) : void

Méthodes protégées

Méthode Description
DrawVertices ( Javax.Microedition.Khronos.Opengles.IGL10 pGL, andengine.engine.camera.Camera pCamera ) : void
IsCulled ( andengine.engine.camera.Camera pCamera ) : bool

Method Details

CollidesWith() public méthode

public CollidesWith ( IShape pOtherShape ) : bool
pOtherShape IShape
Résultat bool

Contains() public méthode

public Contains ( float pX, float pY ) : bool
pX float
pY float
Résultat bool

ConvertLocalToSceneCoordinates() public méthode

public ConvertLocalToSceneCoordinates ( float pX, float pY ) : float[]
pX float
pY float
Résultat float[]

ConvertSceneToLocalCoordinates() public méthode

public ConvertSceneToLocalCoordinates ( float pX, float pY ) : float[]
pX float
pY float
Résultat float[]

DrawVertices() protected méthode

protected DrawVertices ( Javax.Microedition.Khronos.Opengles.IGL10 pGL, andengine.engine.camera.Camera pCamera ) : void
pGL Javax.Microedition.Khronos.Opengles.IGL10
pCamera andengine.engine.camera.Camera
Résultat void

GetBaseHeight() public méthode

public GetBaseHeight ( ) : float
Résultat float

GetBaseWidth() public méthode

public GetBaseWidth ( ) : float
Résultat float

GetHeight() public méthode

public GetHeight ( ) : float
Résultat float

GetSceneCenterCoordinates() public méthode

public GetSceneCenterCoordinates ( ) : float[]
Résultat float[]

GetVertexBuffer() public méthode

public GetVertexBuffer ( ) : andengine.opengl.vertex.VertexBuffer
Résultat andengine.opengl.vertex.VertexBuffer

GetWidth() public méthode

public GetWidth ( ) : float
Résultat float

IsCulled() protected méthode

protected IsCulled ( andengine.engine.camera.Camera pCamera ) : bool
pCamera andengine.engine.camera.Camera
Résultat bool

RectangularShape() public méthode

public RectangularShape ( float pX, float pY, float pWidth, float pHeight, andengine.opengl.vertex.VertexBuffer pVertexBuffer )
pX float
pY float
pWidth float
pHeight float
pVertexBuffer andengine.opengl.vertex.VertexBuffer

Reset() public méthode

public Reset ( ) : void
Résultat void

SetBaseSize() public méthode

public SetBaseSize ( ) : void
Résultat void

SetHeight() public méthode

public SetHeight ( float pHeight ) : void
pHeight float
Résultat void

SetSize() public méthode

public SetSize ( float pWidth, float pHeight ) : void
pWidth float
pHeight float
Résultat void

SetWidth() public méthode

public SetWidth ( float pWidth ) : void
pWidth float
Résultat void

Property Details

mBaseHeight protected_oe property

protected float mBaseHeight
Résultat float

mBaseWidth protected_oe property

protected float mBaseWidth
Résultat float

mHeight protected_oe property

protected float mHeight
Résultat float

mWidth protected_oe property

protected float mWidth
Résultat float