Property | Type | Description | |
---|---|---|---|
DrawCamera | bool |
Property | Type | Description | |
---|---|---|---|
m_Device | GraphicsDevice | ||
m_Position | Vector3 | ||
m_Projection | Matrix | ||
m_ProjectionDirty | bool | ||
m_ProjectionOrigin | Vector2 | ||
m_Target | Vector3 | ||
m_Translation | Vector3 | ||
m_Up | Vector3 | ||
m_View | Matrix | ||
m_ViewDirty | bool | ||
m_Zoom | float |
Property | Type | Description |
---|
Method | Description | |
---|---|---|
BasicCamera ( GraphicsDevice device, Vector3 Position, Vector3 Target, Vector3 Up ) : System |
Creates a new BasicCamera instance. Assumes projection is full screen!
|
|
Draw ( GraphicsDevice device ) : void | ||
ProjectionDirty ( ) : void |
Method | Description | |
---|---|---|
CalculateProjection ( ) : void | ||
CalculateView ( ) : void |
public BasicCamera ( GraphicsDevice device, Vector3 Position, Vector3 Target, Vector3 Up ) : System | ||
device | GraphicsDevice | A GraphicsDevice instance used for rendering. |
Position | Vector3 | Camera's initial position. |
Target | Vector3 | Camera's initial target. |
Up | Vector3 | Camera's initial up vector. |
return | System |