Scene class abstract

Constructors

Scene()

Properties

alwaysUpdateMobjects bool
getter/setter pair
camera Camera
getter/setter pair
display AbstractDisplay
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mobjects List<Mobject>
getter/setter pair
random Random
getter/setter pair
randomSeed int
getter/setter pair
renderer AbstractRenderer
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time double
getter/setter pair

Methods

add(List<Mobject> mobjects) → void
addEventListener(EventListener<Event> listener) → void
addToBack(List<Mobject> mobjects) → void
addToFront(List<Mobject> mobjects) → void
beginAnimation(Animation animation) → void
bindDisplay(AbstractDisplay _display) → void
bringToBack(List<Mobject> mobs) → void
bringToFront(List<Mobject> mobs) → void
clear() → void
construct() FutureOr<void>
continueRendering() Future
createCamera() Camera
finishAnimation(Animation animation) → void
getMobjectCopies() List<Mobject>
getMobjects() List<Mobject>
getMobjectsFamilies() List<Mobject>
getMovingMobjects(List<Animation> animations) List<Mobject>
getRestructuredMobjectList(List<Mobject> mobjects, List<Mobject> toRemove) List<Mobject>
getRunTime(List<Animation> animations) double
getTime() double
getTopLevelMobjects() List<Mobject>
incrementTime(double dt) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
play(Animation animation) Future
playMany(List<Animation> animations) Future
preload() FutureOr<void>
progressThroughAnimation(Animation animation) Future
remove(List<Mobject> mobjects) → void
removeEventListener(EventListener<Event> listener) → void
render() → void
resetCamera() → void
restructureMobjects({List<Mobject> toRemove = const [], bool extractFamilies = true}) → void
run() Future
setup() FutureOr<void>
shouldUpdateMobjects() bool
tearDown() FutureOr<void>
toString() String
A string representation of this object.
inherited
updateFrame(double dt) → void
updateMobjects(double dt) → void
wait([double duration = 1.0]) Future
waitForClick({bool markAsHandled = false, bool continueRendering = true}) Future<MousePressedEvent>
waitForEvent<IEvent extends Event>(EventType eventType, {bool markAsHandled = false, bool continueRendering = true}) Future<IEvent>

Operators

operator ==(Object other) bool
The equality operator.
inherited