Chunks
Moddable voxel sandbox for room-scale VR.
|
Classes | |
class | Tab |
class | TabButton |
Public Member Functions | |
void | AddPage (string title, Control control) |
void | SelectPage (Control page) |
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) |
Protected Member Functions | |
override void | OnChildLoadedFromLayout (Control child) |
Invoked when a new child is created as specified by a json layout object. 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 | OnLayoutLoaded (bool firstTime) |
Invoked when the control's layout has been (re)loaded. 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 () |
Additional Inherited Members | |
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.Control | |
virtual bool | IncludeSelfInBounds => false |
void Chunks.Controls.TabContainer.AddPage | ( | string | title, |
Control | control | ||
) |
|
protectedvirtual |
Invoked when a new child is created as specified by a json layout object.
child | The newly created child. |
Reimplemented from Chunks.Controls.Control.
void Chunks.Controls.TabContainer.SelectPage | ( | Control | page | ) |
|
getset |
|
getset |