Empeld
Empeld plugin documentation.
|
A value instance of pure random numbers More...
Public Member Functions | |
Random3D (IPseudoRandom gen) | |
Initializes an instance with a random number generator More... | |
Random3D (int seed) | |
Initialize an instance with the default random number generator More... | |
float | Rand (int x) |
Returns 0-1 float More... | |
float | Rand (int x, int y) |
returns 0-1 float More... | |
float | Rand (int x, int y, int z) |
Returns 0-1 float More... | |
float | Rand (int x, int y, float min, float max) |
Returns between min-max for a given vec2 More... | |
float | Rand (int x, int y, int z, float min, float max) |
Returns between min-max, for the given vec3 More... | |
int | Randi (int x, int min, int max) |
Returns int between (min, max) More... | |
int | Randi (int x, int y, int min, int max) |
returns int between (min, max) More... | |
int | Randi (int x, int y, int z, int min, int max) |
Returns int between (min, max) More... | |
override float | GetValue (int x, int y, int z) |
Get the value at a coordinate x,y,z More... | |
override float | GetValue (int x, int y) |
Get the value at the coordinate x,y More... | |
Public Member Functions inherited from pluginbase.Helpers.Computative.ValuePoint3D | |
ValuePoint3D | Mix (ValuePoint3D with, float sourceOpacity) |
Mix this value with another one at a certain ratio More... | |
ValuePoint3D | Lighten (ValuePoint3D with) |
Lighten this value by another one More... | |
ValuePoint3D | Darken (ValuePoint3D with) |
Darken this value by another one More... | |
ValuePoint3D | CustomCombine (ValuePoint3D with, Combiner3D.CombinerOperator func) |
Combine two values using a custom combiner More... | |
ValuePoint3D | CustomManipulator (Manip3D.ManipOperator func) |
Manipulate this value with a custom manipulator More... | |
ValuePoint3D | Abs () |
Absolute value More... | |
ValuePoint3D | Invert () |
Invert the value from a 0-1 range More... | |
ValuePoint3D | Brightness (float amount) |
Adjust brightness. Takes in -1 to 1f More... | |
ValuePoint3D | Contrast (float amount) |
Adjusts contract from -1 to 1 More... | |
ValuePoint3D | Scale (float factor) |
Scale the specified factor and clamp More... | |
ValuePoint3D | LinearBounds (float min, float max) |
Linearly interpolates to squish between the bounds More... | |
ValuePoint3D | Threshold (float threshold) |
Threshold the specified threshold. Returns 0 if below, otherwise 1f More... | |
ValuePoint3D | Gamma (float gamma) |
Gamma the specified gamma. Range 0f - 2f More... | |
ValuePoint3D | Clamp () |
Clamp this value between 0 and 1 More... | |
ValuePoint3D | Clamp (float min, float max) |
Clamp this value between a min and max More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from pluginbase.Helpers.Computative.ValuePoint3D | |
static ValuePoint3D | operator+ (ValuePoint3D a, ValuePoint3D b) |
Add two value points together More... | |
static ValuePoint3D | operator- (ValuePoint3D a, ValuePoint3D b) |
Subtract two value points More... | |
static ValuePoint3D | operator* (ValuePoint3D a, ValuePoint3D b) |
Multiply two value points More... | |
static ValuePoint3D | operator/ (ValuePoint3D a, ValuePoint3D b) |
Divide one value by another More... | |
A value instance of pure random numbers
pluginbase.Helpers.Computative.Random.Random3D.Random3D | ( | IPseudoRandom | gen | ) |
pluginbase.Helpers.Computative.Random.Random3D.Random3D | ( | int | seed | ) |
Initialize an instance with the default random number generator
seed | Seed. |
|
virtual |
Get the value at a coordinate x,y,z
x | The x coordinate. |
y | The y coordinate. |
z | The z coordinate. |
Implements pluginbase.Helpers.Computative.ValuePoint3D.
|
virtual |
Get the value at the coordinate x,y
x | The x coordinate. |
y | The y coordinate. |
Implements pluginbase.Helpers.Computative.ValuePoint3D.
float pluginbase.Helpers.Computative.Random.Random3D.Rand | ( | int | x | ) |
Returns 0-1 float
x | A System.Int32 |
float pluginbase.Helpers.Computative.Random.Random3D.Rand | ( | int | x, |
int | y | ||
) |
returns 0-1 float
x | A System.Int32 |
y | A System.Int32 |
float pluginbase.Helpers.Computative.Random.Random3D.Rand | ( | int | x, |
int | y, | ||
int | z | ||
) |
Returns 0-1 float
x | A System.Int32 |
y | A System.Int32 |
z | A System.Int32 |
float pluginbase.Helpers.Computative.Random.Random3D.Rand | ( | int | x, |
int | y, | ||
float | min, | ||
float | max | ||
) |
Returns between min-max for a given vec2
x | The x coordinate. |
y | The y coordinate. |
min | Minimum. |
max | Max. |
float pluginbase.Helpers.Computative.Random.Random3D.Rand | ( | int | x, |
int | y, | ||
int | z, | ||
float | min, | ||
float | max | ||
) |
Returns between min-max, for the given vec3
x | The x coordinate. |
y | The y coordinate. |
z | The z coordinate. |
min | Minimum. |
max | Max. |
int pluginbase.Helpers.Computative.Random.Random3D.Randi | ( | int | x, |
int | min, | ||
int | max | ||
) |
Returns int between (min, max)
x | A System.Int32 |
min | A System.Int32 |
max | A System.Int32 |
int pluginbase.Helpers.Computative.Random.Random3D.Randi | ( | int | x, |
int | y, | ||
int | min, | ||
int | max | ||
) |
returns int between (min, max)
x | A System.Int32 |
y | A System.Int32 |
min | A System.Int32 |
max | A System.Int32 |
int pluginbase.Helpers.Computative.Random.Random3D.Randi | ( | int | x, |
int | y, | ||
int | z, | ||
int | min, | ||
int | max | ||
) |
Returns int between (min, max)
x | A System.Int32 |
y | A System.Int32 |
z | A System.Int32 |
min | A System.Int32 |
max | A System.Int32 |