PowerOfTwo class final
An integer constrained to powers of two within min..max (shadow map resolutions). Inspector, a dropdown of the powers in range.
- Inheritance
-
- Object
- PropertyConstraint<
int> - PowerOfTwo
Constructors
- PowerOfTwo({int min = 1, int? max})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
The tagged JSON form, a single-key map (
{'range': {...}}).override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited