API reference
API reference
Select your platform
No SDKs available
No versions available

RandomDistribution Class

Implements SceneDecorator.IDistribution
A distribution that randomly places objects defined by the scenedecorator.

Methods

Distribute ( sceneDecorator , sceneAnchor , sceneDecoration )
Distributes randomly decorations.
Signature
void Distribute(SceneDecorator sceneDecorator, MRUKAnchor sceneAnchor, SceneDecoration sceneDecoration)
Parameters
sceneDecorator: SceneDecorator  The scene decorator used to generate the decoration.
sceneAnchor: MRUKAnchor  The MRUKAnchor that defines the surface on which to distribute the decoration.
sceneDecoration: SceneDecoration  The scene decoration to be distributed.
Returns
void