|
My Project v1
Project
|


Public 成员函数 | |
| WorldOptionsScreen () | |
| override void | Enter (object[] parameters) |
| override void | Leave () |
| override void | Update () |
Public 成员函数 继承自 Game.Screen | |
| Screen () | |
Public 成员函数 继承自 Game.CanvasWidget | |
| Vector2? | GetWidgetPosition (Widget widget) |
| void | SetWidgetPosition (Widget widget, Vector2? position) |
| override void | WidgetRemoved (Widget widget) |
| override void | MeasureOverride (Vector2 parentAvailableSize) |
| override void | ArrangeOverride () |
Public 成员函数 继承自 Game.ContainerWidget | |
| ContainerWidget () | |
| override void | UpdateCeases () |
| void | AddChildren (Widget widget) |
| void | RemoveChildren (Widget widget) |
| void | ClearChildren () |
| virtual void | WidgetAdded (Widget widget) |
| override void | MeasureOverride (Vector2 parentAvailableSize) |
| override void | ArrangeOverride () |
| override void | Dispose () |
Public 成员函数 继承自 Game.Widget | |
| Widget () | |
| void | LoadContents (object eventsTarget, XElement node) |
| void | LoadProperties (object eventsTarget, XElement node) |
| void | LoadChildren (object eventsTarget, XElement node) |
| bool | IsChildWidgetOf (ContainerWidget containerWidget) |
| virtual void | ChangeParent (ContainerWidget parentWidget) |
| void | Measure (Vector2 parentAvailableSize) |
| void | Arrange (Vector2 position, Vector2 parentActualSize) |
| virtual void | Draw (DrawContext dc) |
| virtual void | Overdraw (DrawContext dc) |
| virtual bool | HitTest (Vector2 point) |
| Widget | HitTestGlobal (Vector2 point, Func< Widget, bool > predicate=null) |
| Vector2 | ScreenToWidget (Vector2 p) |
| Vector2 | WidgetToScreen (Vector2 p) |
| BoundingRectangle | TransformBoundsToParent (Vector2 size) |
| BoundingRectangle | TransformBoundsToGlobal (Vector2 size) |
静态 Public 成员函数 | |
| static string | FormatOffset (float value) |
| static int | FindNearestIndex (IList< float > list, float v) |
静态 Public 成员函数 继承自 Game.CanvasWidget | |
| static void | SetPosition (Widget widget, Vector2 position) |
静态 Public 成员函数 继承自 Game.ContainerWidget | |
| static void | ArrangeChildWidgetInCell (Vector2 c1, Vector2 c2, Widget widget) |
静态 Public 成员函数 继承自 Game.Widget | |
| static Widget | LoadWidget (object eventsTarget, XElement node, ContainerWidget parentWidget) |
| static bool | TestOverlap (Widget w1, Widget w2) |
| static bool | IsNodeIncludedOnCurrentPlatform (XElement node) |
| static void | UpdateWidgetsHierarchy (Widget rootWidget) |
| static void | LayoutWidgetsHierarchy (Widget rootWidget, Vector2 availableSize) |
| static void | DrawWidgetsHierarchy (Widget rootWidget) |
| static Type | FindTypeFromXmlName (string name, string namespaceName) |
| static Widget | HitTestGlobal (Widget widget, Vector2 point, Func< Widget, bool > predicate) |
| static void | UpdateWidgetsHierarchy (Widget widget, ref bool isMouseCursorVisible) |
静态 Public 属性 | |
| static string | fName = "WorldOptionsScreen" |
| static float[] | m_islandSizes |
| static float[] | m_biomeSizes |
静态 Public 属性 继承自 Game.Widget | |
| static Queue< DrawContext > | m_drawContextsCache = new() |
| static int | LayersLimit = -1 |
| static bool | DrawWidgetBounds = false |
Private 属性 | |
| Widget | m_yearDaysPanel |
| Widget | m_seasonsPanel |
| CheckboxWidget | m_areSeasonsChangingCheckBox |
| SliderWidget | m_yearDaysSlider |
| SliderWidget | m_timeOfYearSlider |
静态 Private 属性 | |
| static float[] | m_yearDays = new float[9] { 8f, 12f, 16f, 20f, 24f, 32f, 48f, 64f, 96f } |
额外继承的成员函数 | |
属性 继承自 Game.CanvasWidget | |
| Vector2 | Size = new Vector2(-1f) [get, set] |
属性 继承自 Game.ContainerWidget | |
| IEnumerable< Widget > | AllChildren [get] |
属性 继承自 Game.Widget | |
| WidgetInput | WidgetsHierarchyInput [get, set] |
| WidgetInput | Input [get] |
| Matrix | LayoutTransform [get, set] |
| Matrix | RenderTransform [get, set] |
| Matrix | GlobalTransform [get] |
| float | GlobalScale [get] |
| Matrix | InvertedGlobalTransform [get] |
| BoundingRectangle | GlobalBounds [get] |
| Color | ColorTransform [get, set] |
| Color | GlobalColorTransform [get] |
| virtual string | Name [get, set] |
| object | Tag [get, set] |
| virtual bool | IsVisible [get, set] |
| virtual bool | IsEnabled [get, set] |
| virtual bool | IsHitTestVisible [get, set] |
| bool | IsVisibleGlobal [get] |
| bool | IsEnabledGlobal [get] |
| bool | ClampToBounds [get, set] |
| virtual Vector2 | Margin [get, set] |
| virtual WidgetAlignment | HorizontalAlignment [get, set] |
| virtual WidgetAlignment | VerticalAlignment [get, set] |
| Vector2 | ActualSize [get] |
| Vector2 | DesiredSize [get, set] |
| Vector2 | ParentDesiredSize [get] |
| bool | IsUpdateEnabled = true [get, set] |
| bool | IsDrawEnabled = true [get, set] |
| bool | IsDrawRequired [get, set] |
| bool | IsOverdrawRequired [get, set] |
| XElement | Style [set] |
| ContainerWidget | ParentWidget [get, set] |
| Widget | RootWidget [get] |
| Game.WorldOptionsScreen.WorldOptionsScreen | ( | ) |

|
virtual |
|
static |

|
static |


|
virtual |
|
virtual |
|
static |
| ButtonWidget Game.WorldOptionsScreen.m_adventureRespawnButton |
| ButtonWidget Game.WorldOptionsScreen.m_adventureSurvivalMechanicsButton |
|
private |
|
static |
| SliderWidget Game.WorldOptionsScreen.m_biomeSizeSlider |
| ButtonWidget Game.WorldOptionsScreen.m_blocksTextureButton |
| LabelWidget Game.WorldOptionsScreen.m_blocksTextureDetails |
| RectangleWidget Game.WorldOptionsScreen.m_blocksTextureIcon |
| LabelWidget Game.WorldOptionsScreen.m_blocksTextureLabel |
| BlocksTexturesCache Game.WorldOptionsScreen.m_blockTexturesCache = new() |
| Widget Game.WorldOptionsScreen.m_continentTerrainPanel |
| Widget Game.WorldOptionsScreen.m_creativeModePanel |
| LabelWidget Game.WorldOptionsScreen.m_descriptionLabel |
| ButtonWidget Game.WorldOptionsScreen.m_environmentBehaviorButton |
| BlockIconWidget Game.WorldOptionsScreen.m_flatTerrainBlock |
| ButtonWidget Game.WorldOptionsScreen.m_flatTerrainBlockButton |
| LabelWidget Game.WorldOptionsScreen.m_flatTerrainBlockLabel |
| SliderWidget Game.WorldOptionsScreen.m_flatTerrainLevelSlider |
| CheckboxWidget Game.WorldOptionsScreen.m_flatTerrainMagmaOceanCheckbox |
| Widget Game.WorldOptionsScreen.m_flatTerrainPanel |
| SliderWidget Game.WorldOptionsScreen.m_flatTerrainShoreRoughnessSlider |
| ButtonWidget Game.WorldOptionsScreen.m_friendlyFireButton |
| SliderWidget Game.WorldOptionsScreen.m_humidityOffsetSlider |
| bool Game.WorldOptionsScreen.m_isExistingWorld |
| SliderWidget Game.WorldOptionsScreen.m_islandSizeEW |
| SliderWidget Game.WorldOptionsScreen.m_islandSizeNS |
|
static |
| Widget Game.WorldOptionsScreen.m_islandTerrainPanel |
| Widget Game.WorldOptionsScreen.m_newWorldOnlyPanel |
| ButtonWidget Game.WorldOptionsScreen.m_paletteButton |
| SliderWidget Game.WorldOptionsScreen.m_seaLevelOffsetSlider |
|
private |
| ButtonWidget Game.WorldOptionsScreen.m_supernaturalCreaturesButton |
| SliderWidget Game.WorldOptionsScreen.m_temperatureOffsetSlider |
| ButtonWidget Game.WorldOptionsScreen.m_terrainGenerationButton |
| ButtonWidget Game.WorldOptionsScreen.m_timeOfDayButton |
|
private |
| ButtonWidget Game.WorldOptionsScreen.m_weatherEffectsButton |
| WorldSettings Game.WorldOptionsScreen.m_worldSettings |
|
staticprivate |
|
private |
|
private |