Class InspectorMeta¶
Namespace: Apogee.Reflection
Assembly: Apogee.Reflection.dll
What an inspector needs to know about a property or a component field besides its type: a range for a slider, a step for a drag field, a heading, hidden, read-only. All optional.
public sealed record InspectorMeta : IEquatable<InspectorMeta>
Inheritance¶
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
InspectorMeta(double, double, double, string?, bool, bool)¶
What an inspector needs to know about a property or a component field besides its type: a range for a slider, a step for a drag field, a heading, hidden, read-only. All optional.
public InspectorMeta(double Min = NaN, double Max = NaN, double Step = NaN, string? Category = null, bool Hidden = false, bool ReadOnly = false)
Parameters¶
Min double
Max double
Step double
Category string?
Hidden bool
ReadOnly bool
Properties¶
Category¶
public string? Category { get; init; }
Property Value¶
HasRange¶
Whether both ends of the range are given (a slider can be drawn).
public bool HasRange { get; }
Property Value¶
Hidden¶
public bool Hidden { get; init; }
Property Value¶
Max¶
public double Max { get; init; }
Property Value¶
Min¶
public double Min { get; init; }
Property Value¶
RangeText¶
The range as text for documentation: 0 to 10, from 0, up to 10, or empty.
public string RangeText { get; }
Property Value¶
ReadOnly¶
public bool ReadOnly { get; init; }
Property Value¶
Step¶
public double Step { get; init; }