PinReleaseForce class

Schedules and performs the pin release. Gravity switches on for good.

Inheritance

Constructors

PinReleaseForce({required PinOptions options, bool forceAllAtOnce = false})

Properties

forceAllAtOnce → bool
Release everything at once whatever options.mode says.
final
hashCode → int
The hash code for this object.
no setterinherited
isActive → bool
Forces that report false are removed after the current step.
no setteroverride
options → PinOptions
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

afterIterations(FabricSimulation sim) → void
Once per step, after all solver iterations.
inherited
applyIteration(FabricSimulation sim) → void
Every solver iteration, right after the springs were satisfied.
inherited
beforeStep(FabricSimulation sim) → void
Once per step, before the nodes are integrated.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start(FabricSimulation sim) → void
Call once before adding the force to the simulation.
toString() → String
A string representation of this object.
inherited

Operators

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