Interface IWidget
Namespace: Ludiq.Bolt
Syntax
public interface IWidget : IDisposable
Properties
accessor
Declaration
Accessor accessor { get; }
Property Value
Type | Description |
---|---|
Accessor |
backgroundRequiresInput
Declaration
bool backgroundRequiresInput { get; }
Property Value
Type | Description |
---|---|
Boolean |
canClip
Declaration
bool canClip { get; }
Property Value
Type | Description |
---|---|
Boolean |
clippingPosition
Declaration
Rect clippingPosition { get; }
Property Value
Type | Description |
---|---|
Rect |
context
Declaration
IGraphContext context { get; }
Property Value
Type | Description |
---|---|
IGraphContext |
foregroundRequiresInput
Declaration
bool foregroundRequiresInput { get; }
Property Value
Type | Description |
---|---|
Boolean |
isMouseOver
Declaration
bool isMouseOver { get; }
Property Value
Type | Description |
---|---|
Boolean |
isMouseThrough
Declaration
bool isMouseThrough { get; }
Property Value
Type | Description |
---|---|
Boolean |
isPositionValid
Declaration
bool isPositionValid { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
isVisible
Declaration
bool isVisible { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
model
Declaration
IGraphChild model { get; }
Property Value
Type | Description |
---|---|
IGraphChild |
overlayRequiresInput
Declaration
bool overlayRequiresInput { get; }
Property Value
Type | Description |
---|---|
Boolean |
position
Declaration
Rect position { get; set; }
Property Value
Type | Description |
---|---|
Rect |
positionDependencies
Declaration
IEnumerable<IWidget> positionDependencies { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IWidget> |
positionDependers
Declaration
IEnumerable<IWidget> positionDependers { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IWidget> |
zIndex
Declaration
float zIndex { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
BeforeFrame()
Declaration
void BeforeFrame()
BringToFront()
Declaration
void BringToFront()
CacheModel()
Declaration
void CacheModel()
CachePosition()
Declaration
void CachePosition()
CachePositionFirstPass()
Declaration
void CachePositionFirstPass()
CompareZ(IWidget)
Declaration
int CompareZ(IWidget other)
Parameters
Type | Name | Description |
---|---|---|
IWidget | other |
Returns
Type | Description |
---|---|
Int32 |
Contains(Vector2)
Declaration
bool Contains(Vector2 point)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | point |
Returns
Type | Description |
---|---|
Boolean |
DrawBackground()
Declaration
void DrawBackground()
DrawForeground()
Declaration
void DrawForeground()
DrawOverlay()
Declaration
void DrawOverlay()
ExpandScreenshotGroup(HashSet<IWidget>)
Declaration
void ExpandScreenshotGroup(HashSet<IWidget> group)
Parameters
Type | Name | Description |
---|---|---|
HashSet<IWidget> | group |
HandleCapture()
Declaration
void HandleCapture()
HandleInput()
Declaration
void HandleInput()
HandleRelease()
Declaration
void HandleRelease()
OnGraphElementsChanged()
Declaration
void OnGraphElementsChanged()
OnViewportChange()
Declaration
void OnViewportChange()
Overlaps(Rect)
Declaration
bool Overlaps(Rect area)
Parameters
Type | Name | Description |
---|---|---|
Rect | area |
Returns
Type | Description |
---|---|
Boolean |
RegisterControl()
Declaration
void RegisterControl()
Reposition()
Declaration
void Reposition()
SendToBack()
Declaration
void SendToBack()
Update()
Declaration
void Update()
Events
whenOnGUI
Declaration
event Action whenOnGUI
Event Type
Type | Description |
---|---|
Action |
whenUpdating
Declaration
event Action whenUpdating
Event Type
Type | Description |
---|---|
Action |