Skip to main content

MovementHeatPoint

A class in Root.Township, Alta.Heat.

A HeatPoint whose cooling to ambient depends on how hard it is shaken, using a HandShakeOffDetector score.

Constructors​

MemberWhat it is
MovementHeatPoint()Creates a MovementHeatPoint with default values.

Fields​

2 private and internal fields
MemberWhat it is
private AnimationCurve followToConductivityMaps shake score to how strongly the point conducts to ambient.
private HandShakeOffDetector shakeOffThe detector that scores how hard the hand is shaking.

Methods​

MemberWhat it is
override void ConductToAmbient(float weight = 1)Conducts to ambient with weight scaled by followToConductivity of the shake score.
protected override void OnDisable()Releases the shake detector.
1 private and internal method
MemberWhat it is
private void OnEnable()Requests the shake detector.