Candide.PlayerMode.Construction.LightModeManager
Type JSONpublic class in Candide.PlayerMode.Construction
Type metadata
- Assembly
Romestead - Namespace
Candide.PlayerMode.Construction - Base type
Candide.PlayerMode.AbstractModeManager - Hash
B709E8797323F9585CD2B53C7699CB7AFD6982A81A4351D70C29A656B8B5AECF
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
Hardness# | public | public System.Single Hardness |
Height# | public | public System.Single Height |
Instance# | public | public Candide.PlayerMode.Construction.LightModeManager Instance |
LightType# | public | public System.Int32 LightType |
Paused# | public | public System.Boolean Paused |
RotationDistance# | public | public System.Single RotationDistance |
Shadows# | public | public System.Boolean Shadows |
TargetEntity# | public | public Shared.Entity.EntityWrapper TargetEntity |
TargetPosition# | public | public Microsoft.Xna.Framework.Vector2 TargetPosition |
TimeOfDay# | public | public System.DateTime TimeOfDay |
Timer# | public | public System.Single Timer |
Properties
| Name | Visibility | Signature |
|---|---|---|
CandideDesktop# | public | public Candide.CandideUI.CandideDesktop CandideDesktop |
Methods
DrawUI
#
public System.Void DrawUI(Microsoft.Xna.Framework.Graphics.SpriteBatch batch)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
5302A564CF5428E52366C3EAA2D5413E1F47016848BAF0FCD671F31C902501CC - Body hash
2CD9750AA76FC9A34460229242D9F22C6D3E76B2AA8FD1FCD2578B3E18E9DE8D - IL size432
Referenced calls
Candide.Graphics.Fonts.CandideFont::get_RenderFont()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0, System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()FontStashSharp.SpriteFontBase::MeasureString(System.String, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, FontStashSharp.FontSystemEffect, System.Int32)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Color::.ctor(System.Single, System.Single, System.Single, System.Single)CandideCreator.Shared.Graphics.PrimitiveRenderer::DrawRect(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, System.Single, System.Single, Microsoft.Xna.Framework.Color, System.Single)Microsoft.Xna.Framework.Color::get_White()FontStashSharp.SpriteFontBase::DrawText(Microsoft.Xna.Framework.Graphics.SpriteBatch, System.String, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single, Microsoft.Xna.Framework.Vector2, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, System.Single, FontStashSharp.TextStyle, FontStashSharp.FontSystemEffect, System.Int32, System.Int32)
String literals
Press space to pause. Paused:Left/Right - Control rotation, Up/Down - Control rotation distance:F1Scroll wheel - Hardness:F2Left click to set rotation center Press Q or E - Move up/down from ground:F0Press B to Toggle Shadows:Press U or I to Zoom:Press J or K to set Time:Press N or M to change Light Type:
Exit
#
public System.Void Exit()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
6B5FA64F9032C6058CBFBBF6E00CF5B5F2CEE654DB40F623281CB5E0854527C7 - Body hash
78560B480A85140FB8F5B3380D97E995CBC20FE0BD3B05FF583F32D44E741626 - IL size27
Referenced calls
CandideCreator.Shared.EditorGameCommunication.GameProperties::set_ShowPointLightSources(System.Boolean)Candide.CandideEngine::SetModeManager(Candide.PlayerMode.AbstractModeManager)
OnEntering
#
public System.Void OnEntering()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
DD8C1D8664B287F3A7BDCB1E1656A577828D922DB4664DABE49D9A319B673775 - Body hash
DFC1784E48E9F0695B696EFC00E9A8615A5A0AAFED2BAC8FBBA248045E02EFB6 - IL size65
Referenced calls
Candide.Input.RtsPlayerInputController::Activate()Candide.Graphics.Camera::get_CurrentPositionCenter()CandideCreator.Shared.EditorGameCommunication.GameProperties::set_ShowPointLightSources(System.Boolean)
OnLeaving
#
public System.Void OnLeaving()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
42A82D187DC8BF1B007605E757CCE2155E28221FD8096933B0F3C1EBC9CCB0D1 - Body hash
773271FCE2CCF88E6403AB4C1D9124185485720036146F9E194DDA8AE4B732F6 - IL size65
Referenced calls
System.Collections.Generic.HashSet<System.String>::Remove(!0)Shared.Entity.EntityWrapper::get_MaskRef()Shared.Entity.Components.ComponentExtension::RemoveFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)
String literals
ConstructionModeManager
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
3E6A02AF64629FDA45C1D8F2721048182F1F18245F46EAD49517D64B7E3AA152 - Body hash
D977F55F77584995774FCEA6652FDC021B09A49B9F3B1BCC9709E506A9FA9E65 - IL size1293
Referenced calls
Candide.Input.SuperKeybind::Pressed()Candide.PlayerMode.Construction.LightModeManager::Exit()Candide.Toolkit.ImGuiAssist::MouseIsOverImgui()Candide.Input.InputManager::Down(Candide.Input.MouseButtons)Candide.Input.RtsPlayerInputController::get_PlacingPosition()Candide.Input.InputManager::Pressed(Microsoft.Xna.Framework.Input.Keys)Candide.Input.InputManager::Down(Microsoft.Xna.Framework.Input.Keys)Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()System.Math::Clamp(System.Single, System.Single, System.Single)System.DateTime::.ctor(System.Int32, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32)Candide.CandideEngine::DoScreensizeStuff()CandideCreator.Shared.Helpers.MathExtension::Mod(System.Int32, System.Int32)Microsoft.Xna.Framework.MathHelper::Clamp(System.Single, System.Single, System.Single)System.MathF::Acos(System.Single)Shared.Entity.EntityWrapper::get_MaskRef()Shared.Entity.Components.ComponentExtension::SetFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Shared.Entity.EntityWrapper::set_LightSourceColor(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_LightSourceDrawShadows(System.Boolean)Shared.Entity.EntityWrapper::set_LightSourceSelfShadow(System.Boolean)Shared.Entity.EntityWrapper::set_LightSourceRadius(System.Single)Shared.Entity.EntityWrapper::set_LightSourceAttenuation(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_LightSourceHardness(System.Single)Shared.Entity.EntityWrapper::set_LightSourceType(Shared.Entity.Components.LightSourceComponentType)Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.MathF::Cos(System.Single)System.MathF::Sin(System.Single)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_UnaryNegation(Microsoft.Xna.Framework.Vector2)