C# Class PsmFramework.Engines.DrawEngine2d.Cameras.WorldCamera

Inheritance: CameraBase
显示文件 Open project: artwallace/PsmFramework Class Usage Examples

Public Properties

Property Type Description
DefaultRotation Angle2
DefaultRotationPoint Coordinate2

Public Methods

Method Description
AdjustCenter ( System.Single horizontal, System.Single vertical ) : void
SetCenter ( Coordinate2 center ) : void
SetCenter ( System.Single x, System.Single y ) : void
SetCenterAtOrigin ( ) : void
SetCenterAtScreenCenter ( ) : void
SetCenterToPointWithinBounds ( Coordinate2 point, RectangularArea2 bounds ) : void
SetRotationToDefault ( ) : void
SetZoomToDefault ( ) : void

Protected Methods

Method Description
Cleanup ( ) : void
CleanupBounds ( ) : void
CleanupCenter ( ) : void
CleanupDimensions ( ) : void
Initialize ( ) : void
InitializeBounds ( ) : void
InitializeCenter ( ) : void
InitializeDimensions ( ) : void
RecalcProjectionMatrixHelper ( ) : void

Private Methods

Method Description
CleanupRotation ( ) : void
CleanupZoom ( ) : void
InitializeRotation ( ) : void
InitializeZoom ( ) : void
WorldCamera ( DrawEngine2d drawEngine2d ) : System

Method Details

AdjustCenter() public method

public AdjustCenter ( System.Single horizontal, System.Single vertical ) : void
horizontal System.Single
vertical System.Single
return void

Cleanup() protected method

protected Cleanup ( ) : void
return void

CleanupBounds() protected method

protected CleanupBounds ( ) : void
return void

CleanupCenter() protected method

protected CleanupCenter ( ) : void
return void

CleanupDimensions() protected method

protected CleanupDimensions ( ) : void
return void

Initialize() protected method

protected Initialize ( ) : void
return void

InitializeBounds() protected method

protected InitializeBounds ( ) : void
return void

InitializeCenter() protected method

protected InitializeCenter ( ) : void
return void

InitializeDimensions() protected method

protected InitializeDimensions ( ) : void
return void

RecalcProjectionMatrixHelper() protected method

protected RecalcProjectionMatrixHelper ( ) : void
return void

SetCenter() public method

public SetCenter ( Coordinate2 center ) : void
center Coordinate2
return void

SetCenter() public method

public SetCenter ( System.Single x, System.Single y ) : void
x System.Single
y System.Single
return void

SetCenterAtOrigin() public method

public SetCenterAtOrigin ( ) : void
return void

SetCenterAtScreenCenter() public method

public SetCenterAtScreenCenter ( ) : void
return void

SetCenterToPointWithinBounds() public method

public SetCenterToPointWithinBounds ( Coordinate2 point, RectangularArea2 bounds ) : void
point Coordinate2
bounds RectangularArea2
return void

SetRotationToDefault() public method

public SetRotationToDefault ( ) : void
return void

SetZoomToDefault() public method

public SetZoomToDefault ( ) : void
return void

Property Details

DefaultRotation public_oe property

public Angle2 DefaultRotation
return Angle2

DefaultRotationPoint public_oe property

public Coordinate2 DefaultRotationPoint
return Coordinate2