프로퍼티 | 타입 | 설명 | |
---|---|---|---|
height | int | ||
pixels | ].float[ | ||
powerof2 | bool | ||
width | int |
메소드 | 설명 | |
---|---|---|
Channel ( int _Width, int _Height ) : System | ||
HeightClamp ( float h ) : |
||
abs ( ) : |
||
add ( float a ) : |
||
addClip ( float add ) : |
||
average ( ) : float | ||
averageConnected ( float value ) : float | ||
boxFit ( float value, int width, int height ) : |
||
brightness ( float brightness ) : |
||
bump ( |
||
bumpSpecular ( |
||
channelAdd ( |
||
channelAddNoClip ( |
||
channelAverage ( |
||
channelBlend ( |
||
channelBlend ( |
||
channelBrightest ( |
||
channelDarkest ( |
||
channelDifference ( |
||
channelDivide ( |
||
channelMultiply ( |
||
channelSubtract ( |
||
channelSubtractNoClip ( |
||
clip ( ) : |
||
contrast ( float contrast ) : |
||
convolution ( float filter, float divisor, float offset ) : |
||
copy ( ) : |
||
count ( float value ) : int | ||
crop ( int x_lo, int y_lo, int x_hi, int y_hi ) : |
||
cropWrap ( int x_lo, int y_lo, int x_hi, int y_hi ) : |
||
erode ( float talus, int iterations ) : |
||
erodeThermal ( float talus, int iterations ) : |
||
fft ( ) : Procedurality.Channel[] | ||
fftInv ( |
||
fill ( float value ) : |
||
fill ( float value, float min, float max ) : |
||
find ( int radius, int x_start, int y_start, float value ) : int[] | ||
findFirst ( float value ) : int[] | ||
findMax ( ) : float | ||
findMin ( ) : float | ||
findMinMax ( ) : float[] | ||
findNoWrap ( int radius, int x_start, int y_start, float value ) : int[] | ||
flipH ( ) : |
||
flipV ( ) : |
||
floodfill ( int init_x, int init_y, float value ) : |
||
gain ( float gain ) : |
||
gamma ( float gamma ) : |
||
gamma2 ( ) : |
||
gamma4 ( ) : |
||
gamma8 ( ) : |
||
getChecksum ( ) : long | ||
getHeight ( ) : int | ||
getMaxDelta ( ) : float |
Returns the maximum land height changes.
|
|
getPixel ( int x, int y ) : float | ||
getPixelSafe ( int x, int y ) : float | ||
getPixelWrap ( int x, int y ) : float | ||
getPixels ( ) : ].float[ | ||
getWidth ( ) : int | ||
grow ( float value, int radius ) : |
||
invert ( ) : |
||
largestConnected ( float value ) : |
||
lineart ( ) : |
||
log ( ) : |
||
multiply ( float factor ) : |
||
normalize ( ) : |
||
normalize ( float new_min, float new_max ) : Channel | ||
normalize ( float min, float max, float new_min, float new_max ) : Channel | ||
normalizeSymmetric ( ) : Channel | ||
offset ( int x_offset, int y_offset ) : Channel | ||
perturb ( Channel channel1, Channel channel2 ) : Channel | ||
perturb ( Channel perturb, float magnitude ) : Channel | ||
place ( Channel sprite, Channel alpha, int x_offset, int y_offset ) : Channel | ||
place ( Channel sprite, int x_offset, int y_offset ) : Channel | ||
placeBrightest ( Channel sprite, int x_offset, int y_offset ) : Channel | ||
placeDarkest ( Channel sprite, int x_offset, int y_offset ) : Channel | ||
power ( float exponent ) : Channel | ||
power2 ( ) : Channel | ||
putPixel ( int x, int y, float value ) : void | ||
putPixelClip ( int x, int y, float v ) : void | ||
putPixelSafe ( int x, int y, float value ) : void | ||
putPixelWrap ( int x, int y, float value ) : void | ||
quadJoin ( Channel channel1, Channel channel2, Channel channel3, Channel channel4 ) : Channel | ||
quadSplit ( ) : Channel[] | ||
relativeIntensity ( int radius ) : Channel | ||
relativeIntensityNormalized ( int radius ) : Channel | ||
rotate ( int degrees ) : Channel | ||
scale ( int new_width, int new_height ) : Channel | ||
scaleCubic ( int new_width, int new_height ) : Channel | ||
scaleDouble ( ) : Channel | ||
scaleFast ( int new_width, int new_height ) : Channel | ||
scaleLinear ( int new_width, int new_height ) : Channel | ||
setMaxDelta ( float max ) : Channel |
|
|
sharpen ( int radius ) : Channel | ||
shear ( float offset ) : Channel | ||
silt ( float waterlevel, bool beaches ) : Channel |
Smooths below-water surfaces and, optionally, adds beaches.
|
|
sine ( int frequency ) : Channel | ||
smooth ( int radius ) : Channel | ||
smooth ( int radius, Channel mask ) : Channel | ||
smoothFast ( ) : Channel | ||
smoothGain ( ) : Channel | ||
smoothWrap ( int radius ) : Channel | ||
squareFit ( float value, int size ) : Channel | ||
squareGrow ( float value, int size ) : Channel | ||
sum ( ) : float | ||
threshold ( float start, float end ) : Channel | ||
tile ( int new_width, int new_height ) : Channel | ||
tileDouble ( ) : Channel | ||
toLayer ( ) : Layer | ||
xsine ( int frequency ) : Channel |
메소드 | 설명 | |
---|---|---|
fastFourierTransform ( float data, int size, int isign ) : void |
public Channel ( int _Width, int _Height ) : System | ||
_Width | int | |
_Height | int | |
리턴 | System |
public boxFit ( float value, int width, int height ) : |
||
value | float | |
width | int | |
height | int | |
리턴 |
public bump ( |
||
bumpmap | ||
lx | float | |
ly | float | |
shadow | float | |
light | float | |
ambient | float | |
리턴 |
public bumpSpecular ( |
||
bumpmap | ||
lx | float | |
ly | float | |
lz | float | |
shadow | float | |
light | float | |
specular | int | |
리턴 |
public channelAddNoClip ( |
||
channel | ||
리턴 |
public channelAverage ( |
||
channel | ||
리턴 |
public channelBlend ( |
||
channel | ||
alpha | ||
리턴 |
public channelBlend ( |
||
channel | ||
alpha | float | |
리턴 |
public channelBrightest ( |
||
channel | ||
리턴 |
public channelDarkest ( |
||
channel | ||
리턴 |
public channelDifference ( |
||
channel | ||
리턴 |
public channelDivide ( |
||
channel | ||
리턴 |
public channelMultiply ( |
||
channel | ||
리턴 |
public channelSubtract ( |
||
channel | ||
리턴 |
public channelSubtractNoClip ( |
||
channel | ||
리턴 |
public convolution ( float filter, float divisor, float offset ) : |
||
filter | float | |
divisor | float | |
offset | float | |
리턴 |
public crop ( int x_lo, int y_lo, int x_hi, int y_hi ) : |
||
x_lo | int | |
y_lo | int | |
x_hi | int | |
y_hi | int | |
리턴 |
public cropWrap ( int x_lo, int y_lo, int x_hi, int y_hi ) : |
||
x_lo | int | |
y_lo | int | |
x_hi | int | |
y_hi | int | |
리턴 |
public erode ( float talus, int iterations ) : |
||
talus | float | |
iterations | int | |
리턴 |
public erodeThermal ( float talus, int iterations ) : |
||
talus | float | |
iterations | int | |
리턴 |
public fftInv ( |
||
magni | ||
phase | ||
리턴 |
public fill ( float value, float min, float max ) : |
||
value | float | |
min | float | |
max | float | |
리턴 |
public find ( int radius, int x_start, int y_start, float value ) : int[] | ||
radius | int | |
x_start | int | |
y_start | int | |
value | float | |
리턴 | int[] |
public findNoWrap ( int radius, int x_start, int y_start, float value ) : int[] | ||
radius | int | |
x_start | int | |
y_start | int | |
value | float | |
리턴 | int[] |
public floodfill ( int init_x, int init_y, float value ) : |
||
init_x | int | |
init_y | int | |
value | float | |
리턴 |
public normalize ( float new_min, float new_max ) : Channel | ||
new_min | float | |
new_max | float | |
리턴 | Channel |
public normalize ( float min, float max, float new_min, float new_max ) : Channel | ||
min | float | |
max | float | |
new_min | float | |
new_max | float | |
리턴 | Channel |
public offset ( int x_offset, int y_offset ) : Channel | ||
x_offset | int | |
y_offset | int | |
리턴 | Channel |
public perturb ( Channel channel1, Channel channel2 ) : Channel | ||
channel1 | Channel | |
channel2 | Channel | |
리턴 | Channel |
public perturb ( Channel perturb, float magnitude ) : Channel | ||
perturb | Channel | |
magnitude | float | |
리턴 | Channel |
public place ( Channel sprite, Channel alpha, int x_offset, int y_offset ) : Channel | ||
sprite | Channel | |
alpha | Channel | |
x_offset | int | |
y_offset | int | |
리턴 | Channel |
public place ( Channel sprite, int x_offset, int y_offset ) : Channel | ||
sprite | Channel | |
x_offset | int | |
y_offset | int | |
리턴 | Channel |
public placeBrightest ( Channel sprite, int x_offset, int y_offset ) : Channel | ||
sprite | Channel | |
x_offset | int | |
y_offset | int | |
리턴 | Channel |
public placeDarkest ( Channel sprite, int x_offset, int y_offset ) : Channel | ||
sprite | Channel | |
x_offset | int | |
y_offset | int | |
리턴 | Channel |
public putPixel ( int x, int y, float value ) : void | ||
x | int | |
y | int | |
value | float | |
리턴 | void |
public putPixelClip ( int x, int y, float v ) : void | ||
x | int | |
y | int | |
v | float | |
리턴 | void |
public putPixelSafe ( int x, int y, float value ) : void | ||
x | int | |
y | int | |
value | float | |
리턴 | void |
public putPixelWrap ( int x, int y, float value ) : void | ||
x | int | |
y | int | |
value | float | |
리턴 | void |
public quadJoin ( Channel channel1, Channel channel2, Channel channel3, Channel channel4 ) : Channel | ||
channel1 | Channel | |
channel2 | Channel | |
channel3 | Channel | |
channel4 | Channel | |
리턴 | Channel |
public relativeIntensityNormalized ( int radius ) : Channel | ||
radius | int | |
리턴 | Channel |
public scale ( int new_width, int new_height ) : Channel | ||
new_width | int | |
new_height | int | |
리턴 | Channel |
public scaleCubic ( int new_width, int new_height ) : Channel | ||
new_width | int | |
new_height | int | |
리턴 | Channel |
public scaleFast ( int new_width, int new_height ) : Channel | ||
new_width | int | |
new_height | int | |
리턴 | Channel |
public scaleLinear ( int new_width, int new_height ) : Channel | ||
new_width | int | |
new_height | int | |
리턴 | Channel |
public silt ( float waterlevel, bool beaches ) : Channel | ||
waterlevel | float |
/// A |
beaches | bool |
/// A |
리턴 | Channel |
public smooth ( int radius, Channel mask ) : Channel | ||
radius | int | |
mask | Channel | |
리턴 | Channel |
public squareFit ( float value, int size ) : Channel | ||
value | float | |
size | int | |
리턴 | Channel |
public squareGrow ( float value, int size ) : Channel | ||
value | float | |
size | int | |
리턴 | Channel |
public threshold ( float start, float end ) : Channel | ||
start | float | |
end | float | |
리턴 | Channel |
public tile ( int new_width, int new_height ) : Channel | ||
new_width | int | |
new_height | int | |
리턴 | Channel |