Called every frame to update entity state and call events.
Namespace:
GeonBit.UI.Entities
Assembly:
GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public virtual void Update(
ref Entity targetEntity,
ref Entity dragTargetEntity,
ref bool wasEventHandled,
Point scrollVal
)
Parameters
- targetEntity
- Type: GeonBit.UI.EntitiesEntity
The deepest child entity with highest priority that we point on and can be interacted with. - dragTargetEntity
- Type: GeonBit.UI.EntitiesEntity
The deepest child dragable entity with highest priority that we point on and can be drag if mouse down. - wasEventHandled
- Type: SystemBoolean
Set to true if current event was already handled by a deeper child. - scrollVal
- Type: Point
Combined scrolling value (panels with scrollbar etc) of all parents.
See Also