|
float??? | DefaultZoom [get, set] |
|
float | ZoomSmoothness [get, set] |
|
float | MoveSmoothness [get, set] |
|
float | MinZoom [get, set] |
|
float | MaxZoom [get, set] |
|
Vector2 | ShakePosition [get] |
|
float? | Zoom [get, set] |
|
float | Rotation [get, set] |
|
float | AngularVelocity [get, set] |
|
float | OffsetAmount [get, set] |
|
Point | Resolution [get] |
|
Rectangle | WorldView [get] |
|
Vector2 | WorldViewCenter [get] |
|
Matrix | Transform [get] |
|
Matrix | ShaderTransform [get] |
|
Vector2 | TargetPos [get, set] |
|
bool | Freeze [get, set] |
| Resets to false each time the MoveCamera method is called. More...
|
|
Vector2 | Position [get, set] |
|
Definition at line 9 of file Camera.cs.
◆ Camera()
Barotrauma.Camera.Camera |
( |
| ) |
|
◆ ClientWrite()
◆ GetPosition()
Vector2 Barotrauma.Camera.GetPosition |
( |
| ) |
|
◆ GetZoomAmountFromPrevious()
float Barotrauma.Camera.GetZoomAmountFromPrevious |
( |
| ) |
|
◆ MoveCamera()
void Barotrauma.Camera.MoveCamera |
( |
float |
deltaTime, |
|
|
bool |
allowMove = true , |
|
|
bool |
allowZoom = true , |
|
|
bool |
allowInput = true , |
|
|
bool? |
followSub = null |
|
) |
| |
◆ ScreenToWorld()
Vector2 Barotrauma.Camera.ScreenToWorld |
( |
Vector2 |
coords | ) |
|
◆ SetResolution()
void Barotrauma.Camera.SetResolution |
( |
Point |
res | ) |
|
◆ StopMovement()
void Barotrauma.Camera.StopMovement |
( |
| ) |
|
◆ Translate()
void Barotrauma.Camera.Translate |
( |
Vector2 |
amount | ) |
|
◆ UpdateTransform()
void Barotrauma.Camera.UpdateTransform |
( |
bool |
interpolate = true , |
|
|
bool |
updateListener = true |
|
) |
| |
◆ WorldToScreen()
Vector2 Barotrauma.Camera.WorldToScreen |
( |
Vector2 |
coords | ) |
|
◆ FollowSub
bool Barotrauma.Camera.FollowSub = true |
|
static |
◆ FreeCamMoveSpeed
float Barotrauma.Camera.FreeCamMoveSpeed = 1.0f |
◆ Shake
float Barotrauma.Camera.Shake |
◆ AngularVelocity
float Barotrauma.Camera.AngularVelocity |
|
getset |
◆ DefaultZoom
float??? Barotrauma.Camera.DefaultZoom |
|
getset |
◆ Freeze
bool Barotrauma.Camera.Freeze |
|
getset |
Resets to false each time the MoveCamera method is called.
Definition at line 251 of file Camera.cs.
◆ MaxZoom
float Barotrauma.Camera.MaxZoom |
|
getset |
◆ MinZoom
float Barotrauma.Camera.MinZoom |
|
getset |
◆ MoveSmoothness
float Barotrauma.Camera.MoveSmoothness |
|
getset |
◆ 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 |
◆ ShakePosition
Vector2 Barotrauma.Camera.ShakePosition |
|
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 |
◆ ZoomSmoothness
float Barotrauma.Camera.ZoomSmoothness |
|
getset |