![]() |
Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
|
Defines a container that can hold and manage a collection of direct composite children. More...
Public Member Functions | |
| IDirectCompositeContainer | Add (IDirectCompositeChild child, bool keepCurrentOffset=true, Vector2? explicitLocalOffsetPx=null) |
| Adds a child element to this container. | |
| IDirectCompositeContainer | Remove (IDirectCompositeChild child) |
| Removes a child element from this container. | |
| IDirectCompositeContainer | Clear () |
| Removes all child elements from this container. | |
Properties | |
| IReadOnlyCollection< IDirectCompositeChild > | Children [get] |
| Gets the read-only collection of child elements in this container. | |
Defines a container that can hold and manage a collection of direct composite children.
Definition at line 8 of file IDirectCompositeContainer.cs.
| IDirectCompositeContainer Gondwana.Drawing.Direct.IDirectCompositeContainer.Add | ( | IDirectCompositeChild | child, |
| bool | keepCurrentOffset = true, | ||
| Vector2? | explicitLocalOffsetPx = null ) |
Adds a child element to this container.
| child | The child element to add to the container. |
| keepCurrentOffset | If true, maintains the child's current offset; otherwise, resets the offset. |
| explicitLocalOffsetPx | Optional explicit local offset in pixels to apply to the child. |
Implemented in Gondwana.Drawing.Direct.DirectComposite, Gondwana.Widgets.ContainerWidget, and Gondwana.Widgets.Layout.StackPanelWidget.
| IDirectCompositeContainer Gondwana.Drawing.Direct.IDirectCompositeContainer.Clear | ( | ) |
Removes all child elements from this container.
Implemented in Gondwana.Drawing.Direct.DirectComposite, Gondwana.Widgets.ContainerWidget, and Gondwana.Widgets.Layout.StackPanelWidget.
| IDirectCompositeContainer Gondwana.Drawing.Direct.IDirectCompositeContainer.Remove | ( | IDirectCompositeChild | child | ) |
Removes a child element from this container.
| child | The child element to remove from the container. |
Implemented in Gondwana.Drawing.Direct.DirectComposite, Gondwana.Widgets.ContainerWidget, and Gondwana.Widgets.Layout.StackPanelWidget.
|
get |
Gets the read-only collection of child elements in this container.
Implemented in Gondwana.Drawing.Direct.DirectComposite.
Definition at line 13 of file IDirectCompositeContainer.cs.