![]() |
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.
|
Represents a single world-space reveal source used by a DirectDarknessOverlay. More...
Public Member Functions | |
| void | MoveTo (PointF centerWorldPx) |
| Moves the reveal source to a new world-space position. | |
| void | SetRadius (float radiusWorldPx) |
| Sets the reveal radius in world-space pixels. | |
Properties | |
| string? | Nickname [get] |
| Optional human-readable name for debugging and lookup. | |
| bool | Enabled [get, set] |
| Gets or sets whether this reveal source is currently active. | |
| PointF | CenterWorldPx [get, set] |
| Gets or sets the reveal center in world-space pixels. | |
| float | RadiusWorldPx [get, set] |
| Gets or sets the reveal radius in world-space pixels. | |
| float | Intensity [get, set] |
| Gets or sets the reveal intensity from 0..1. | |
Represents a single world-space reveal source used by a DirectDarknessOverlay.
Definition at line 626 of file DirectDarknessOverlay.cs.
| void Gondwana.Drawing.Direct.DirectDarknessOverlay.RevealSource.MoveTo | ( | PointF | centerWorldPx | ) |
Moves the reveal source to a new world-space position.
| centerWorldPx | The center in world pixels. |
Definition at line 720 of file DirectDarknessOverlay.cs.
| void Gondwana.Drawing.Direct.DirectDarknessOverlay.RevealSource.SetRadius | ( | float | radiusWorldPx | ) |
Sets the reveal radius in world-space pixels.
| radiusWorldPx | The radius in world pixels. |
Definition at line 729 of file DirectDarknessOverlay.cs.
|
getset |
Gets or sets the reveal center in world-space pixels.
Definition at line 666 of file DirectDarknessOverlay.cs.
|
getset |
Gets or sets whether this reveal source is currently active.
Definition at line 650 of file DirectDarknessOverlay.cs.
|
getset |
Gets or sets the reveal intensity from 0..1.
1 fully removes darkness at the center; lower values create weaker vision / dimmer reveal.
Definition at line 702 of file DirectDarknessOverlay.cs.
|
get |
Optional human-readable name for debugging and lookup.
Definition at line 645 of file DirectDarknessOverlay.cs.
|
getset |
Gets or sets the reveal radius in world-space pixels.
Definition at line 682 of file DirectDarknessOverlay.cs.