Uniform Distribution

This node generates samples from a uniform distribution.

Installation

To use this Node, you must enable omni.replicator.core in the Extension Manager.

Inputs

Name

Type

Description

Default

lower

float[]

the lower bound of the uniform distribution

upper

float[]

the upper bound of the uniform distribution

seed

int

Random Number Generator seed. A value of less than 0 will indicate using the global seed.

-1

numSamples

int

number of samples to generate

1

outputType

string

The helper attribute to resolve output’s type

Outputs

Name

Type

Description

Default

samples

any

sampled results

numSamples

int

number of samples to generate

1