Multinomial Distribution - Prims#
This node generates samples from a list of prims.
Installation#
To use this node enable omni.replicator.core in the Extension Manager.
Inputs#
Name |
Type |
Descripton |
Default |
|---|---|---|---|
Choices (inputs:choices) |
|
The choices to be sampled |
None |
Num Samples (inputs:numSamples) |
|
Number of samples to generate |
1 |
Reference Time Denominator (inputs:referenceTimeDenominator) |
|
The denominator of the reference time |
1 |
Reference Time Numerator (inputs:referenceTimeNumerator) |
|
The numerator of the reference time |
0 |
Seed (inputs:seed) |
|
Random Number Generator seed. A value of less than 0 will indicate using the global seed. |
-1 |
Weights (inputs:weights) |
|
The weights with which to sample |
[] |
With Replacements (inputs:withReplacements) |
|
Whether to avoid duplicates in sampling. |
True |
Outputs#
Name |
Type |
Descripton |
Default |
|---|---|---|---|
Num Samples (outputs:numSamples) |
|
Number of prims to generate |
1 |
Prims (outputs:prims) |
|
Sampled prim results |
None |
Samples (outputs:samples) |
|
Sampled results |
None |
Metadata#
Name |
Value |
|---|---|
Unique ID |
omni.replicator.core.OgnSampleChoicePrim |
Version |
1 |
Extension |
omni.replicator.core |
Has State? |
True |
Implementation Language |
Python |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Multinomial Distribution - Prims |
Categories |
Replicator:Core |
__categoryDescriptions |
Replicator:Core,Core Replicator nodes |
Generated Class Name |
OgnSampleChoicePrimDatabase |
Python Module |
omni.replicator.core |