C# Class andengine.engine.camera.BoundCamera

Inheritance: Camera
Afficher le fichier Open project: jamesburton/AndEngine.net

Protected Properties

Свойство Type Description
mBoundsEnabled bool

Méthodes publiques

Méthode Description
BoundCamera ( float pX, float pY, float pWidth, float pHeight )
BoundCamera ( float pX, float pY, float pWidth, float pHeight, float pBoundMinX, float pBoundMaxX, float pBoundMinY, float pBoundMaxY )
GetBoundsHeight ( ) : float
GetBoundsWidth ( ) : float
IsBoundsEnabled ( ) : bool
SetBounds ( float pBoundMinX, float pBoundMaxX, float pBoundMinY, float pBoundMaxY ) : void
SetBoundsEnabled ( bool pBoundsEnabled ) : void
SetCenter ( float pCenterX, float pCenterY ) : void

Méthodes protégées

Méthode Description
EnsureInBounds ( ) : void

Private Methods

Méthode Description
DetermineBoundedX ( ) : float
DetermineBoundedY ( ) : float

Method Details

BoundCamera() public méthode

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

BoundCamera() public méthode

public BoundCamera ( float pX, float pY, float pWidth, float pHeight, float pBoundMinX, float pBoundMaxX, float pBoundMinY, float pBoundMaxY )
pX float
pY float
pWidth float
pHeight float
pBoundMinX float
pBoundMaxX float
pBoundMinY float
pBoundMaxY float

EnsureInBounds() protected méthode

protected EnsureInBounds ( ) : void
Résultat void

GetBoundsHeight() public méthode

public GetBoundsHeight ( ) : float
Résultat float

GetBoundsWidth() public méthode

public GetBoundsWidth ( ) : float
Résultat float

IsBoundsEnabled() public méthode

public IsBoundsEnabled ( ) : bool
Résultat bool

SetBounds() public méthode

public SetBounds ( float pBoundMinX, float pBoundMaxX, float pBoundMinY, float pBoundMaxY ) : void
pBoundMinX float
pBoundMaxX float
pBoundMinY float
pBoundMaxY float
Résultat void

SetBoundsEnabled() public méthode

public SetBoundsEnabled ( bool pBoundsEnabled ) : void
pBoundsEnabled bool
Résultat void

SetCenter() public méthode

public SetCenter ( float pCenterX, float pCenterY ) : void
pCenterX float
pCenterY float
Résultat void

Property Details

mBoundsEnabled protected_oe property

protected bool mBoundsEnabled
Résultat bool