Chunks
Moddable voxel sandbox for room-scale VR.
Protected Member Functions | Properties | List of all members
Chunks.Controls.WorldMenu Class Reference
Inheritance diagram for Chunks.Controls.WorldMenu:
Chunks.Controls.Panel Chunks.Controls.Image Chunks.Controls.Control

Protected Member Functions

override void OnInitialize ()
 Called only once, when the component is first attached to an entity and is ready to add or retrieve other components. More...
 
override void OnLayoutLoaded (bool firstTime)
 Invoked when the control's layout has been (re)loaded. More...
 
override void OnUpdate ()
 Called once per world update if this component and its parent entity are enabled. More...
 
- Protected Member Functions inherited from Chunks.Controls.Panel
override void OnInitialize ()
 Called only once, when the component is first attached to an entity and is ready to add or retrieve other components. More...
 
- Protected Member Functions inherited from Chunks.Controls.Image
override void OnInitialize ()
 Called only once, when the component is first attached to an entity and is ready to add or retrieve other components. More...
 
- Protected Member Functions inherited from Chunks.Controls.Control
override void OnInitialize ()
 Called only once, when the component is first attached to an entity and is ready to add or retrieve other components. More...
 
ResourceName GetResourceName (JToken token)
 Converts a json token to a resource name, associating it with the current namespace. Only valid from within OnReadJson. More...
 
virtual void OnChildLoadedFromLayout (Control child)
 Invoked when a new child is created as specified by a json layout object. More...
 
virtual bool GetChildBounds (out Bounds bounds)
 
override void OnUpdate ()
 Called once per world update if this component and its parent entity are enabled. More...
 
virtual void OnPointerEnter (PointerEventArgs e)
 
virtual void OnPointerLeave (PointerEventArgs e)
 
virtual void OnPointerClick (PointerEventArgs e)
 
virtual void OnPointerPress (PointerEventArgs e)
 
virtual void OnPointerRelease (PointerEventArgs e)
 
virtual void OnPointerBeginDrag (PointerEventArgs e)
 
virtual void OnPointerEndDrag (PointerEventArgs e)
 
virtual void OnPointerDrag (PointerEventArgs e)
 
virtual void OnPointerScroll (PointerEventArgs e)
 
string GetSubstitutedText (string format)
 
virtual void OnUpdateTextSubstitutions ()
 

Properties

ScrollView WorldScrollView [get]
 
ScrollView PluginsScrollView [get]
 
ScrollView GameModesScrollView [get]
 
Control MainPage [get]
 
Control PluginsPage [get]
 
Control GameModesPage [get]
 
string InfoPanelDefaultDescription [get, set]
 
Color InfoPanelDefaultColor [get, set]
 
Color InfoPanelErrorColor [get, set]
 
Color PluginDefaultColor [get, set]
 
Color PluginErrorColor [get, set]
 
Color PluginRequiredColor [get, set]
 
RowList WorldButtons [get]
 
RowList PluginButtons [get]
 
RowList GameModesButtons [get]
 
Button BackButton [get]
 
Button PluginsButton [get]
 
Button GameModesButton [get]
 
Button LoadButton [get]
 
Button UploadButton [get]
 
Button DeleteButton [get]
 
Button NewWorldButton [get]
 
Button WorkshopButton [get]
 
Button CameraMenuButton [get]
 
Panel CameraMenuPanel [get]
 
Image Screenshot [get]
 
WorldProperties SelectedWorld [get, set]
 
- Properties inherited from Chunks.Controls.Image
Color Color [get, set]
 Color of the Panel. More...
 
ImageType Type [get, set]
 
bool PreserveAspect [get, set]
 
Graphics.Texture Texture [get, set]
 
Graphics.Sprite Sprite [get, set]
 
- Properties inherited from Chunks.Controls.Control
MenuPanel MenuPanel [get, set]
 
PointerEventHandler PointerEntered
 
PointerEventHandler PointerLeft
 
PointerEventHandler PointerClicked
 
PointerEventHandler PointerPressed
 
PointerEventHandler PointerReleased
 
PointerEventHandler PointerBeginDragging
 
PointerEventHandler PointerEndDragging
 
PointerEventHandler PointerDragging
 
PointerEventHandler PointerScrolling
 

Additional Inherited Members

- Public Member Functions inherited from Chunks.Controls.Control
 Control ()
 
TControl CreateChildControl< TControl > ()
 Creates a new Entity as a child of this one with an instance of the given Control type attached to it, which is returned. More...
 
Control CreateChildControl (Type type)
 Creates a new Entity as a child of this one with an instance of the given Control type attached to it, which is returned. More...
 
Control CreateChildControl (ResourceName resName)
 Creates a new Entity as a child of this one with a Control attached to it, as defined by the control layout resource specified by the given resource name. More...
 
Bounds GetChildBounds ()
 
delegate void PointerEventHandler (Control sender, PointerEventArgs e)
 
void SetTextSubstitution (string key, string value)
 
string GetTextSubstitution (string key)
 
- Public Attributes inherited from Chunks.Controls.Control
new ControlTransform Transform => (ControlTransform) base.Transform
 The transformation of the entity this instance is attached to. More...
 
- Protected Attributes inherited from Chunks.Controls.Image
override bool IncludeSelfInBounds => true
 
- Protected Attributes inherited from Chunks.Controls.Control
virtual bool IncludeSelfInBounds => false
 

Member Function Documentation

override void Chunks.Controls.WorldMenu.OnInitialize ( )
protected

Called only once, when the component is first attached to an entity and is ready to add or retrieve other components.

override void Chunks.Controls.WorldMenu.OnLayoutLoaded ( bool  firstTime)
protectedvirtual

Invoked when the control's layout has been (re)loaded.

Reimplemented from Chunks.Controls.Control.

override void Chunks.Controls.WorldMenu.OnUpdate ( )
protected

Called once per world update if this component and its parent entity are enabled.

Property Documentation

Button Chunks.Controls.WorldMenu.BackButton
get
Button Chunks.Controls.WorldMenu.CameraMenuButton
get
Panel Chunks.Controls.WorldMenu.CameraMenuPanel
get
Button Chunks.Controls.WorldMenu.DeleteButton
get
Button Chunks.Controls.WorldMenu.GameModesButton
get
RowList Chunks.Controls.WorldMenu.GameModesButtons
get
Control Chunks.Controls.WorldMenu.GameModesPage
get
ScrollView Chunks.Controls.WorldMenu.GameModesScrollView
get
Color Chunks.Controls.WorldMenu.InfoPanelDefaultColor
getset
string Chunks.Controls.WorldMenu.InfoPanelDefaultDescription
getset
Color Chunks.Controls.WorldMenu.InfoPanelErrorColor
getset
Button Chunks.Controls.WorldMenu.LoadButton
get
Control Chunks.Controls.WorldMenu.MainPage
get
Button Chunks.Controls.WorldMenu.NewWorldButton
get
RowList Chunks.Controls.WorldMenu.PluginButtons
get
Color Chunks.Controls.WorldMenu.PluginDefaultColor
getset
Color Chunks.Controls.WorldMenu.PluginErrorColor
getset
Color Chunks.Controls.WorldMenu.PluginRequiredColor
getset
Button Chunks.Controls.WorldMenu.PluginsButton
get
Control Chunks.Controls.WorldMenu.PluginsPage
get
ScrollView Chunks.Controls.WorldMenu.PluginsScrollView
get
Image Chunks.Controls.WorldMenu.Screenshot
get
WorldProperties Chunks.Controls.WorldMenu.SelectedWorld
getset
Button Chunks.Controls.WorldMenu.UploadButton
get
Button Chunks.Controls.WorldMenu.WorkshopButton
get
RowList Chunks.Controls.WorldMenu.WorldButtons
get
ScrollView Chunks.Controls.WorldMenu.WorldScrollView
get

The documentation for this class was generated from the following file: