InstanceSlot<T extends InstanceChild> class
One instance part's live state: its Brain-side slot and the child player it drives.
Constructors
- InstanceSlot({required SsInstanceSlot slot, required T child})
Properties
- child → T
-
final
- childFrame ↔ double
-
The frame the last InstanceSlots.step left the child on — what
paintdraws (rounded there).getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- isIndependent → bool
-
Whether the Brain is running this child on its own real-time clock rather
than the parent's frame.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slot → SsInstanceSlot
-
The opaque
InstanceSlotfromss_instance_slot_create(). Unlike an effect slot it binds no resource at construction —steptakes the child context per call.final - visible ↔ bool
-
Whether the Brain says this child is live this frame. Invisible is the
fail-safe: every path that does not explicitly draw leaves it hidden.
getter/setter pair
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