RenderSettings class
Controls how an object should be rendered in the game.
- Implementers
Constructors
- RenderSettings({double? width, double? height, double? rotationAngle, bool mirror = false, String? asset, bool? isInvisible})
-
Creates a new RenderSettings instance.
const
Properties
- asset → String?
-
The asset to display.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
The height.
final
- isInvisible → bool
-
Whether this object should be invisible.
final
- mirror → bool
-
Whether to mirror the asset.
final
-
props
→ List<
Object?> -
The properties list.
no setter
- rotationAngle → double?
-
The rotation angle.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double?
-
The width.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited