Toggle navigation
Get Started
Download
Documentation
Manual
API Reference
Tutorials
About
Contact
IgeParticleEmitter
Method: baseAndVarianceValue
Takes a base value and a variance range and returns a random value between the range, added to the base.
baseAndVarianceValue
(
Number
base
,
Array
variance
,
Boolean
floorIt
)
Number
base
The base value.
Array
variance
An array containing the two values of the variance range.
Boolean
floorIt
If set to true, will cause the returned value to be passed through Math.floor().
Returns
Number
Returns the final value based upon the base value and variance range.
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point