Class OverlayToggle¶
Namespace: Apogee.DevTools
Assembly: Apogee.DevTools.dll
A checkbox the host adds to the overlay's Debug section: it reads and writes a switch of the host's (physics debug drawing, say).
public sealed record OverlayToggle : IEquatable<OverlayToggle>
Inheritance¶
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
OverlayToggle(string, Func<bool>, Action<bool>)¶
A checkbox the host adds to the overlay's Debug section: it reads and writes a switch of the host's (physics debug drawing, say).
public OverlayToggle(string Label, Func<bool> Get, Action<bool> Set)
Parameters¶
Label string
Properties¶
Get¶
public Func<bool> Get { get; init; }
Property Value¶
Label¶
public string Label { get; init; }
Property Value¶
Set¶
public Action<bool> Set { get; init; }