MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / getCameraPosition

Method getCameraPosition

engine/source/2d/gui/SceneWindow.h:244–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242 /// Camera,
243 virtual void setCameraPosition( const Vector2& position );
244 inline Vector2 getCameraPosition( void ) const { return mCameraCurrent.mSourceArea.centre(); }
245 void setCameraSize( const Vector2& size );
246 inline Vector2 getCameraSize( void ) const { return Vector2( mCameraCurrent.mSourceArea.extent ); }
247 virtual void setCameraArea( const RectF& cameraWindow );

Callers 3

SandboxInputControllerFunction · 0.80
preIntegrateMethod · 0.80

Calls 1

centreMethod · 0.80

Tested by

no test coverage detected