Definition at line 7 of file Camera.cs.
◆ Camera()
Barotrauma.Camera.Camera |
( |
| ) |
|
◆ GetPosition()
Vector2 Barotrauma.Camera.GetPosition |
( |
| ) |
|
◆ MoveCamera()
void Barotrauma.Camera.MoveCamera |
( |
float |
deltaTime, |
|
|
bool |
allowMove = true , |
|
|
bool |
allowZoom = true |
|
) |
| |
◆ ScreenToWorld()
Vector2 Barotrauma.Camera.ScreenToWorld |
( |
Vector2 |
coords | ) |
|
◆ Translate()
void Barotrauma.Camera.Translate |
( |
Vector2 |
amount | ) |
|
◆ UpdateTransform()
void Barotrauma.Camera.UpdateTransform |
( |
bool |
interpolate = true , |
|
|
bool |
clampPos = false |
|
) |
| |
◆ WorldToScreen()
Vector2 Barotrauma.Camera.WorldToScreen |
( |
Vector2 |
coords | ) |
|
◆ FollowSub
bool Barotrauma.Camera.FollowSub = true |
|
static |
◆ Instance
◆ Shake
float Barotrauma.Camera.Shake |
◆ OffsetAmount
float Barotrauma.Camera.OffsetAmount |
|
getset |
◆ Position
Vector2 Barotrauma.Camera.Position |
|
getset |
◆ Resolution
Point Barotrauma.Camera.Resolution |
|
get |
◆ Rotation
float Barotrauma.Camera.Rotation |
|
getset |
◆ ShaderTransform
Matrix Barotrauma.Camera.ShaderTransform |
|
get |
◆ TargetPos
Vector2 Barotrauma.Camera.TargetPos |
|
getset |
◆ Transform
Matrix Barotrauma.Camera.Transform |
|
get |
◆ WorldView
Rectangle Barotrauma.Camera.WorldView |
|
get |
◆ WorldViewCenter
Vector2 Barotrauma.Camera.WorldViewCenter |
|
get |
◆ Zoom
float Barotrauma.Camera.Zoom |
|
getset |