CameraMixerComponent class

Manager: a weighted mix of its children, all at once.

Inheritance

Constructors

CameraMixerComponent({Map<String, double>? weights})
A mixer over weights (none when null). A child with no weight, or one of zero or less, is left out; with no child weighted, the manager shows its own shot.

Properties

componentType → Type
Type identifier for this component
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
weights ↔ Map<String, double>
Child name → weight. Animate these to steer between shots by hand.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAttach(EntityId entityId) → void
Called when this component is added to an entity.
inherited
onDetach(EntityId entityId) → void
Called when this component is removed from an entity.
inherited
toString() → String
A string representation of this object.
override

Operators

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