Candide.Graphics.Camera
Type JSONpublic class in Candide.Graphics
Type metadata
- Assembly
Romestead - Namespace
Candide.Graphics - Base type
System.Object - Hash
CEB33A3D6923D125E4816F28211AF8029A095B64E2016690792F029BF57CB924
Relationships
Base type
System.Object
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
CameraAngle# | public | public System.Single CameraAngle |
CurrentPx# | public | public System.Single CurrentPx |
CurrentPy# | public | public System.Single CurrentPy |
CurrentX# | public | public System.Single CurrentX |
CurrentY# | public | public System.Single CurrentY |
Following# | public | public System.Boolean Following |
HitBox# | public | public CandideCreator.Shared.Models.RectangleF HitBox |
Margin# | public | public System.Single Margin |
Target# | public | public Shared.Entity.EntityWrapper Target |
Transitioning# | public | public System.Boolean Transitioning |
X# | public | public System.Single X |
XScale# | public | public System.Single XScale |
Y# | public | public System.Single Y |
YScale# | public | public System.Single YScale |
_averageRecoverySpeed# | private | private System.Single _averageRecoverySpeed |
_averageSpeed# | private | private System.Single _averageSpeed |
_currentAverageSpeed# | private | private System.Single _currentAverageSpeed |
_maxShakeTranslation# | private | private System.Double _maxShakeTranslation |
_shakeOffsetX# | private | private System.Single _shakeOffsetX |
_shakeOffsetY# | private | private System.Single _shakeOffsetY |
_shakeRandom# | private | private System.Random _shakeRandom |
_transitionAverageSpeed# | private | private System.Single _transitionAverageSpeed |
_trauma# | private | private System.Double _trauma |
_traumaDecayRate# | private | private System.Double _traumaDecayRate |
Properties
| Name | Visibility | Signature |
|---|---|---|
CurrentPixelOffset# | public | public Microsoft.Xna.Framework.Vector2 CurrentPixelOffset |
CurrentPositionCenter# | public | public Microsoft.Xna.Framework.Vector2 CurrentPositionCenter |
PositionCenter# | public | public Microsoft.Xna.Framework.Vector2 PositionCenter |
Methods
AddTrauma
#
public System.Void AddTrauma(System.Double amount)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F87B186EADC1E20FC95B934FC6116FA2B8BD81AC630C76FA58012ACB1BA25D4E - Body hash
F9D846764974B73F01B8BC115FCE89C8B188E86814D089FB6EF831AC700CA41A - IL size29
Referenced calls
System.Math::Min(System.Double, System.Double)
Called by
Candide.Combat.CombatHandler::MakeDamageExplosionCandide.Combat.VisualExplosionHelper::DoExplosionCandide.Entities.Controllers.Legacy.GiantHandController::UpdateCandide.Entities.Controllers.MinervasOwlBossController.MinervasOwlBossController::DoFootStepParticlesCandide.Entities.Controllers.MinervasOwlBossController.MinervasOwlBossController::OnServerSetStateCandide.Entities.Controllers.Other.Cyclops.CyclopsArenaController::ReceiveEntityVfxMessageCandide.Entities.Controllers.Other.Cyclops.CyclopsArmController::ReceiveEntityVfxMessageCandide.Entities.Controllers.Other.Cyclops.CyclopsBodyController::UpdateCandide.Entities.Controllers.Other.Cyclops.FallingRockProjectileController::OnHitTheGroundCandide.Entities.Controllers.PhoenixBossController.PhoenixBossController::DoFootStepParticlesCandide.Entities.Controllers.PhoenixBossController.PhoenixBossController::OnServerSetStateCandide.Entities.Controllers.RobotBossController.RobotBossController::StartLaserSweepAttackCandide.Entities.Controllers.RobotBossController.RobotBossController::StartTransitionPhase1ToPhase2Candide.Entities.Controllers.RobotBossController.RobotBossController::StartTransitionPhase2ToPhase3Candide.Entities.Controllers.RobotBossController.RobotBossController::StartTransitionPhase3ToDeadCandide.Entities.Controllers.RobotBossController.RobotBossController::UpdateCandide.Entities.Controllers.RobotBossController.RobotBossController::UpdateSpawnsCandide.Entities.Controllers.RobotBossController.RobotBossSlamHandler::UpdateCandide.Entities.Controllers.Talos.TalosArenaController::UpdatePrePhase2Candide.Entities.Controllers.Talos.TalosArenaController::UpdateTransition2ACandide.Entities.Controllers.Talos.TalosArenaController::UpdateTransition3Candide.Graphics.VFX.CameraShake::Update
Clone
#
public Candide.Graphics.Camera Clone()
Method metadata
- Visibilitypublic
- Return type
Candide.Graphics.Camera - StaticFalse
- VirtualFalse
- Hash
196CAE92ADA94CFC005EB47E3EE5A462A5F45DF8A09EE9F813F6C06603DE9201 - Body hash
832D9D5272E8E37811154B24E13A4F7912541FE08AB274C9873DE4AEE24BCD0E - IL size12
Referenced calls
System.Object::MemberwiseClone()
Fix
#
public System.Void Fix()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
D6B461B46D9ABD65EA34B56A4CA6EB11CE3FCE6072F19A777BE5EF2C9F2DDC8E - Body hash
F72370300B06D6DDFAC0E619A1878EF4C98C8E4E7F0E2D9B94E96CD47FF759EA - IL size37
Referenced calls
FollowTarget
#
public System.Void FollowTarget(Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
C5AE6C987781609A594C408E4A70C3C60CE8FFE802386F32D4E4BC170CFC2C04 - Body hash
382828C7CF860F858A826298F59FF00F56E503D6566BD143D815054424C195D2 - IL size18
Called by
Candide.Entities.Controllers.Other.RoundArenaController::UpdateCandide.Entities.PlayerState.PlayerDashHandler::OnEnterCandide.Entities.PlayerState.PlayerDashHandler::OnLeaveCandide.Entities.PlayerState.PlayerDashHandler::UpdateAndCheckIfShouldTransitionCandide.Entities.PlayerState.PlayerStates.SittingState::OnEnterCandide.Entities.PlayerState.PlayerStates.SittingState::OnLeaveCandide.Input.CinematicPlayerInputController::ActivateCandide.Input.RtsPlayerInputController::ActivateCandide.Input.StandardPlayerInputController::ActivateCandide.Input.VehiclePlayerInputController::ActivateCandide.Multiplayer.PlayerManager::LocalPlayerDied
GetCameraOffsetWithoutScaling
#
public Microsoft.Xna.Framework.Vector2 GetCameraOffsetWithoutScaling()
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticFalse
- VirtualFalse
- Hash
23F4CA4DEC360CD28BC7304B3A88B119F756E504F461CBE20B8F5686C5929C58 - Body hash
213A52A4A3B555C02E71CC465D9AF801C56DC3552E36B6AD9855F05DDAB8ED4D - IL size46
Referenced calls
Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)
GetMatrix
#
public Microsoft.Xna.Framework.Matrix GetMatrix()
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Matrix - StaticFalse
- VirtualFalse
- Hash
E19D6373CED9A500E93B733C411BBC48822839B9E12BEB7523FE57D4420CFDD5 - Body hash
417DF732BFECE4324A7224B39B8D0E7E6624FF6FC8F5851CB18492B966204336 - IL size261
Referenced calls
Microsoft.Xna.Framework.Matrix::CreateTranslation(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Matrix::CreateRotationZ(System.Single)Microsoft.Xna.Framework.Matrix::op_Multiply(Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Matrix)Microsoft.Xna.Framework.Matrix::get_Translation()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_UnaryNegation(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Matrix::set_Translation(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()Microsoft.Xna.Framework.Graphics.Viewport::get_Width()Microsoft.Xna.Framework.Graphics.Viewport::get_Height()Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)
GetScaleMatrix
#
public Microsoft.Xna.Framework.Matrix GetScaleMatrix()
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Matrix - StaticFalse
- VirtualFalse
- Hash
B8A55C2B129249107EB7D297349C80631BD951D815C4CFC523A3979181B62908 - Body hash
4A89D9FF40EDBFA12C4342C4E890202F042CE00CCACFE4AE3B35519DEB07DB1C - IL size339
Referenced calls
Microsoft.Xna.Framework.Matrix::CreateTranslation(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Matrix::get_Translation()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Matrix::set_Translation(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()Microsoft.Xna.Framework.Graphics.Viewport::get_Width()Microsoft.Xna.Framework.Graphics.Viewport::get_Height()Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Matrix::CreateRotationZ(System.Single)Microsoft.Xna.Framework.Matrix::op_Multiply(Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Matrix)
Called by
GetTranslateMatrix
#
public Microsoft.Xna.Framework.Matrix GetTranslateMatrix()
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Matrix - StaticFalse
- VirtualFalse
- Hash
07D9C65160465CB415EFE08D6972AFD0E01874C864CC41565A9D89995FAB3073 - Body hash
586FA53FA18950B91C6B23A49E630A9E58FA0637B3609B0458B251D93D159BF7 - IL size123
Referenced calls
Microsoft.Xna.Framework.Matrix::CreateTranslation(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Matrix::get_Translation()Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()Microsoft.Xna.Framework.Graphics.Viewport::get_Width()Microsoft.Xna.Framework.Graphics.Viewport::get_Height()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Matrix::set_Translation(Microsoft.Xna.Framework.Vector3)
Called by
IsCurrentWithinBoundary
#
public System.Boolean IsCurrentWithinBoundary()
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
36921D2E7A5F099A58C8FDD750E59C922E5270F6A807C8F3C18D7F7A19E945F1 - Body hash
26EFBF82F26075AE9575ECC98F0B0F484365C3A48BAC8E4424D7D683BD253C4D - IL size227
Referenced calls
Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()Microsoft.Xna.Framework.Graphics.Viewport::get_Width()Microsoft.Xna.Framework.Graphics.Viewport::get_Height()
JumpTo
#
public System.Void JumpTo(System.Single x, System.Single y)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
4597E4CBEB966E2A7537A51C48667BF7229C19BB69BE76E60BCD05E56D053835 - Body hash
D8749D37E4BF95066388EA168C2F1B9E00234E19FDA78FE58E6DB7F52F70FA9D - IL size90
JumpToTarget
#
public System.Void JumpToTarget()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
066BC81D359CDD622195AD259B5BED65279380000F8515D2399A486AAABF39F7 - Body hash
E636B1A3D13762A4248B4FE311A8B038603119F01605571E0AC2540650429E1A - IL size125
Referenced calls
Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Candide.Graphics.Camera::SetCenter(System.Single, System.Single)
KeepInsideMap
#
public System.Void KeepInsideMap()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
47764AD47E99A37CF6A511DA70AA034CE180927DBA8FDCCFF1630A1AC9B681D7 - Body hash
8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55 - IL size1
Move
#
public System.Void Move(System.Single x, System.Single y)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F3C1EC2CE3193DAF256C7848230AB4133820BD8E29D4A21B77CAD9334E2E7E96 - Body hash
DD95E0C11EF04C17EB1F5C81DE45A12409A8AAE213DA7AF10B05AB4074F16699 - IL size29
MoveImmediately
#
public System.Void MoveImmediately(System.Single x, System.Single y)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
CA8119E6C8499EDE1FAE1EF5A0EB8536E35FFFA4027B72CDBBB6BB12A982F26F - Body hash
B1DB7EF3D9337D59FBC970E4F69D8A53BDA0AB06FE354BFC842D937BD6C84387 - IL size57
SetCenter
#
public System.Void SetCenter(System.Single x, System.Single y)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
618D48389F9B22D8BC299C1BEC59CDAEB0BF5944890E24AD344F2B4CA8CDA2A2 - Body hash
1053AD8BC20680AD85297D1BA124E33F1AA74AD16444CD28FFA8E7BF1CA59663 - IL size15
Called by
Candide.Entities.Controllers.Other.RoundArenaController::UpdateCandide.Graphics.Camera::JumpToTargetCandide.Graphics.Camera::SetCenterToTargetCandide.Input.CinematicPlayerInputController::UpdateCandide.Input.RtsPlayerInputController::SetCameraToStartingPositionCandide.Input.RtsPlayerInputController::UpdateCandide.PlayerMode.Vehicle.VehicleModeManager::OnUpdateMovement
SetCenterToTarget
#
public System.Void SetCenterToTarget()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E01776F9C6E3E2443D84C6946251055ED6E3C49694302AF9714FCD24764C63F9 - Body hash
376A0A170B85B97AD62AD0A3BEEB152BC431E5C41160C2F79493B6F56C29CDA4 - IL size107
Referenced calls
Shared.Entity.EntityWrapper::get_FloorHeight()Shared.Entity.EntityWrapper::get_Position()Candide.Graphics.Camera::SetCenter(System.Single, System.Single)
SetOrigin
#
public System.Void SetOrigin(System.Single x, System.Single y)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
C137B77591A08F35B4E167E39FE6FAC2EA5460E11F79CF2C4B73FB9D2FFB3C4E - Body hash
F8FA566BFFC8F8F1146C8ADFDEFAAF98CBC4F7B42B0C3F7AF42A6FFB6194556D - IL size81
Referenced calls
Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()Microsoft.Xna.Framework.Graphics.Viewport::get_Width()Microsoft.Xna.Framework.Graphics.Viewport::get_Height()
SetSpeed
#
public System.Void SetSpeed(System.Single v)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
1773C6FC9D16DDF3113415E72C61A077B83B6AAC033CD8DFF94B2CF2BC6199A1 - Body hash
D48B8CEDDAD00782F7AA9F08DD0E69AD0D8282F2FB77654D4EF9632BDBF7D20F - IL size8
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9AEFCDC024907BE0147A9682714BA98E012C3A53048CD28F4A3F882A6BC176E6 - Body hash
FA0BFC5B137401412182666FA1100CEAD7810DDC5FA7476E5F0249484989CB75 - IL size705
Referenced calls
Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_Health()Candide.Graphics.Camera::SetCenterToTarget()Candide.Graphics.Camera::KeepInsideMap()System.Random::NextDouble()Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()System.Math::Max(System.Double, System.Double)Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()Microsoft.Xna.Framework.Graphics.Viewport::get_Width()Microsoft.Xna.Framework.Graphics.Viewport::get_Height()CandideCreator.Shared.Models.RectangleF::.ctor(System.Single, System.Single, System.Single, System.Single)