isZero
Checks whether the stored sample is zero. Constant samples use approximate component comparison. Runtime samples check for the shared zero vector without evaluating it.
boolean zero = timeline.isZero(0);
Content copied to clipboard
Return
true if the sample is zero according to its storage type
Since
3.7.0
Parameters
index
the zero-based sample index
Throws
if the sample index is outside this timeline