Private
_clientsPrivate
_positionPrivate
_rfunctionPrivate
_rotationPrivate
_sPrivate
_scalePrivate
_seedPrivate
_strengthPrivate
_uniformCall this function after creating and setting the effector to update instances/clones transforms.
Each Cloner can have a set of Effectors assigned. The Effector influences properties of the clones cloned by a Cloner. The RandomEffector can influence all transfomation properties (scale/rotation/position) with repeatable random values. Different random sequences can be achieved with a different seed value. The RandomEffector can serve more than one cloner but it has only one property to control the strength of the random values. Therefore each cloner has a property sensitivity to accept either all or only a portion of the cloners strength. Note: the scaling transformation will be done in two different ways depending on the property uniformScale: if this property is set to true, only one random value will be used for all three scaling components (x,y,z) and the y/z componets of the scale property will be ignored. If set to false, each direction is scaled independently with an extra random value.
Param: seed
The the seed value for generating different sequences of random values. Default 42.
Param: strength
Sets the strength of the generator (range 0 to 1).
Param: uniformScale
true => all scaling directions with one value, false independently scaling.
Param: position
Sets position values in the range 0 to {x: number, y: number, z: number}.
Param: scale
Sets scaling values in the range 0 to {x: number, y: number, z: number}.
Param: rotation
Sets rotation values in the range 0 to {x: number, y: number, z: number}.