|
| static string | FormatOffset (float value) |
| static int | FindNearestIndex (IList< float > list, float v) |
| static void | SetPosition (Widget widget, Vector2 position) |
| static void | ArrangeChildWidgetInCell (Vector2 c1, Vector2 c2, Widget 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) |
|
| Vector2 | Size = new(-1f) [get, set] |
| IEnumerable< Widget > | AllChildren [get] |
| 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] |
| object | ExtraData [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 float | MarginLeft [get, set] |
| virtual float | MarginRight [get, set] |
| virtual float | MarginTop [get, set] |
| virtual float | MarginBottom [get, set] |
| virtual Vector4 | Margin4 [get, set] |
| virtual float | MarginHorizontalSum [get] |
| virtual float | MarginVerticalSum [get] |
| virtual Vector2 | MarginHorizontalSumAndVerticalSum [get] |
| 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] |
◆ WorldOptionsScreen()
| Game.WorldOptionsScreen.WorldOptionsScreen |
( |
| ) |
|
◆ Enter()
| override void Game.WorldOptionsScreen.Enter |
( |
object[] | parameters | ) |
|
|
virtual |
◆ FindNearestIndex()
| int Game.WorldOptionsScreen.FindNearestIndex |
( |
IList< float > | list, |
|
|
float | v ) |
|
static |
◆ FormatOffset()
| string Game.WorldOptionsScreen.FormatOffset |
( |
float | value | ) |
|
|
static |
◆ Leave()
| override void Game.WorldOptionsScreen.Leave |
( |
| ) |
|
|
virtual |
◆ Update()
| override void Game.WorldOptionsScreen.Update |
( |
| ) |
|
|
virtual |
◆ fName
| string Game.WorldOptionsScreen.fName = "WorldOptionsScreen" |
|
static |
◆ ForceEnableTerrainGeneratorVersionButton
| bool Game.WorldOptionsScreen.ForceEnableTerrainGeneratorVersionButton = false |
|
static |
◆ m_adventureRespawnButton
| ButtonWidget Game.WorldOptionsScreen.m_adventureRespawnButton |
◆ m_adventureSurvivalMechanicsButton
| ButtonWidget Game.WorldOptionsScreen.m_adventureSurvivalMechanicsButton |
◆ m_areSeasonsChangingCheckBox
◆ m_biomeSizes
| float [] Game.WorldOptionsScreen.m_biomeSizes |
|
static |
初始值: = [
0.01f,
0.1f,
0.25f,
0.33f,
0.5f,
0.75f,
1f,
1.5f,
2f,
3f,
4f,
6f,
8f,
10f,
12f,
16f,
20f,
24f,
32f
]
在文件 WorldOptionsScreen.cs 第 119 行定义.
◆ m_biomeSizeSlider
◆ m_blocksTextureButton
◆ m_blocksTextureDetails
| LabelWidget Game.WorldOptionsScreen.m_blocksTextureDetails |
◆ m_blocksTextureIcon
◆ m_blocksTextureLabel
| LabelWidget Game.WorldOptionsScreen.m_blocksTextureLabel |
◆ m_blockTexturesCache
◆ m_continentTerrainPanel
| Widget Game.WorldOptionsScreen.m_continentTerrainPanel |
◆ m_creativeModePanel
| Widget Game.WorldOptionsScreen.m_creativeModePanel |
◆ m_descriptionLabel
◆ m_environmentBehaviorButton
| ButtonWidget Game.WorldOptionsScreen.m_environmentBehaviorButton |
◆ m_flatTerrainBlock
◆ m_flatTerrainBlockButton
| ButtonWidget Game.WorldOptionsScreen.m_flatTerrainBlockButton |
◆ m_flatTerrainBlockLabel
| LabelWidget Game.WorldOptionsScreen.m_flatTerrainBlockLabel |
◆ m_flatTerrainBlockList
| int [] Game.WorldOptionsScreen.m_flatTerrainBlockList |
|
static |
初始值: = [
-1,
8,
2,
7,
3,
67,
66,
4,
5,
26,
73,
21,
46,
47,
15,
62,
68,
126,
71,
1
]
在文件 WorldOptionsScreen.cs 第 160 行定义.
◆ m_flatTerrainLevelSlider
| SliderWidget Game.WorldOptionsScreen.m_flatTerrainLevelSlider |
◆ m_flatTerrainMagmaOceanCheckbox
| CheckboxWidget Game.WorldOptionsScreen.m_flatTerrainMagmaOceanCheckbox |
◆ m_flatTerrainPanel
| Widget Game.WorldOptionsScreen.m_flatTerrainPanel |
◆ m_flatTerrainShoreRoughnessSlider
| SliderWidget Game.WorldOptionsScreen.m_flatTerrainShoreRoughnessSlider |
◆ m_friendlyFireButton
◆ m_humidityOffsetSlider
◆ m_isExistingWorld
| bool Game.WorldOptionsScreen.m_isExistingWorld |
◆ m_islandSizeEW
◆ m_islandSizeNS
◆ m_islandSizes
| float [] Game.WorldOptionsScreen.m_islandSizes |
|
static |
初始值: = [
1f,
7f,
15f,
30f,
40f,
50f,
60f,
80f,
100f,
120f,
150f,
200f,
250f,
300f,
400f,
500f,
600f,
800f,
1000f,
1200f,
1500f,
2000f,
2500f
]
在文件 WorldOptionsScreen.cs 第 93 行定义.
◆ m_islandTerrainPanel
| Widget Game.WorldOptionsScreen.m_islandTerrainPanel |
◆ m_newWorldOnlyPanel
| Widget Game.WorldOptionsScreen.m_newWorldOnlyPanel |
◆ m_paletteButton
◆ m_seaLevelOffsetSlider
◆ m_seasonsPanel
| Widget Game.WorldOptionsScreen.m_seasonsPanel |
|
private |
◆ m_supernaturalCreaturesButton
| ButtonWidget Game.WorldOptionsScreen.m_supernaturalCreaturesButton |
◆ m_temperatureOffsetSlider
| SliderWidget Game.WorldOptionsScreen.m_temperatureOffsetSlider |
◆ m_terrainGenerationButton
| ButtonWidget Game.WorldOptionsScreen.m_terrainGenerationButton |
◆ m_terrainGeneratorVersionButton
| ButtonWidget Game.WorldOptionsScreen.m_terrainGeneratorVersionButton |
◆ m_terrainGeneratorVersionButtonPanel
| Widget Game.WorldOptionsScreen.m_terrainGeneratorVersionButtonPanel |
◆ m_timeOfDayButton
◆ m_timeOfYearSlider
◆ m_weatherEffectsButton
◆ m_worldSettings
◆ m_yearDays
| float [] Game.WorldOptionsScreen.m_yearDays |
|
static |
初始值: = [
4f,
8f,
12f,
16f,
20f,
24f,
32f,
48f,
64f,
96f,
128f,
192f,
256f,
365f,
384f,
512f
]
在文件 WorldOptionsScreen.cs 第 141 行定义.
◆ m_yearDaysPanel
| Widget Game.WorldOptionsScreen.m_yearDaysPanel |
|
private |
◆ m_yearDaysSlider
该类的文档由以下文件生成: