InteractableRenderSettings class

Controls how an Interactable should be rendered in-game.

Inheritance

Constructors

InteractableRenderSettings({double? top, double? right, double? bottom, double? left, double? width, double? height, double? rotationAngle, bool mirror = false, String? asset, bool? isInvisible, InteractableAnimation? hoverAnimation, InteractableAnimation? enterAnimation})
Creates a new InteractableRenderSettings instance.
const

Properties

asset String?
The asset to display.
finalinherited
bottom double?
The bottom position.
finalinherited
enterAnimation InteractableAnimation?
The Interactable animation when displayed for the first time.
final
hashCode int
The hash code for this object.
no setterinherited
height double?
The height.
finalinherited
hoverAnimation InteractableAnimation?
The Interactable animation when hovered.
final
isInvisible bool
Whether this object should be invisible.
finalinherited
left double?
The left position.
finalinherited
mirror bool
Whether to mirror the asset.
finalinherited
props List<Object?>
The properties list.
no setteroverride
The right position.
finalinherited
rotationAngle double?
The rotation angle.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top double?
The top position.
finalinherited
width double?
The width.
finalinherited

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.
override