AccelerationSum
double AccelerationSum (object obj, frame range_start, frame range_end, double sample_size)
Return Value: The sum of obj's average acceleration between range_start and range_end taken at sample_size intervals.
Arguments:
obj |
object in question |
range_start |
start of the sample interval |
range_end |
end of the sample interval |
sample_size |
step size |
AccelerationSum takes average acceleration samples over a given range and sums them up. The range is defined by range_start and range-end.
Example:
This would calculate the acceleration between frames 10 and 12.5 and 12.5 to 15 and get the sum of the two values.
Converted from CHM to HTML with chm2web Pro 2.82 (unicode) |