PointMass class
One node of the cloth. Simulated in 3D: x/y are screen axes, z points towards the viewer (negative z = pushed into the screen).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hold ↔ double
-
Finger influence 0..1 and the node's offset from the finger.
getter/setter pair
- holdDx ↔ double
-
getter/setter pair
- holdDy ↔ double
-
getter/setter pair
- isPinned ↔ bool
-
Attached to the "wall". Border nodes start pinned.
getter/setter pair
-
links
→ List<
Spring> -
Structural springs touching this node (used for pin-tension checks).
final
- oldX ↔ double
-
getter/setter pair
- oldY ↔ double
-
getter/setter pair
- oldZ ↔ double
-
getter/setter pair
- originalX → double
-
final
- originalY → double
-
final
- releaseIn ↔ int
-
Frames until this pin lets go (-1 = not scheduled).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- x ↔ double
-
getter/setter pair
- y ↔ double
-
getter/setter pair
- z ↔ double
-
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