ARSA Language
2.8
(Encryption, GPU and Web 3.0)
|
Go to the source code of this file.
Functions | |
void | builtin (const char *layername, const char *builtin_script) |
call built-in script by script NOTE 1: Call in external script only! NOTE 2: Get error code in log windows. More... | |
Variables | |
r =x y z[vel count pingpong] | |
rotation layer More... | |
move =start end [vel count pingpong] | |
move layer More... | |
movein =[axis vel flag] | |
movein layer More... | |
moveout =[axis vel flag] | |
moveout layer More... | |
fadein =[vel] | |
fadein layer More... | |
fadeout =[vel] | |
fadeout layer More... | |
fade =start end [vel count pingpong] | |
fade layer More... | |
scale = start end [vel count pingpong] | |
scale layer More... | |
visible = axis start end [vel count pingpong flag] | |
visible layer More... | |
aref = original_layername | |
alias reference to layer NOTE: Support only layer in Photoshop! More... | |
lottie ="filename" [fps loop pingpong width height] | |
lottie animation More... | |
audio ="filename" [loop] | |
audio More... | |
video = "filename" [loop] | |
video More... | |
Writing built-in script after layer name and MUST 1 space after that
parameter in scope [ ] is optional
Example pattern using built-in script in Photoshop
Definition in file builtin.h.
void builtin | ( | const char * | layername, |
const char * | builtin_script | ||
) |
call built-in script by script
NOTE 1: Call in external script only!
NOTE 2: Get error code in log windows.
layername | name of layer, can be null that choose build-in layername from the other function. |
builtin_script | string of built-in script. |
aref = original_layername |
audio ="filename" [loop] |
fade =start end [vel count pingpong] |
fade layer
start | is opacity value 0 = transparent, 255 = opaque |
end | is opacity value 0 = transparent, 255 = opaque |
vel | is speed 1..inf, more is fastest, default is 300 |
count | is loop time, 0 is infinite, default is 0 |
pingpong | is loop style 1 = enable, 0 = disable, default is 0 Example fade=0x255 fade=0x255x300 fade=255x0x300 fade=0x255x300x0 fade=0x255x300x0x1 |
fadein =[vel] |
fadeout =[vel] |
lottie ="filename" [fps loop pingpong width height] |
lottie animation
name | is lottie animation file name (MUST between double quote -> "filename.json"). May be user can download from official website: https://lottiefiles.com/ |
fps | is frame speed, more is fast less is slow, 30 is default |
loop | is boolean 1 = true, 0 = false (once) |
pingpong | style animation playback (start->end->start); boolean 1 = true, 0 = false (once) |
width | quality size of texture in width, default: 512 pixel |
height | quality size of texture in height, default: 512 pixel |
move =start end [vel count pingpong] |
move layer
start | is offset in x axis, currently add from layer position |
end | is offset in y axis, currently add from layer position |
vel | is speed 1..inf, more is fastest, default is 300 |
count | is loop time, 0 is infinite, default is 0 |
pingpong | is loop style 1 = enable, 0 = disable, default is 0 Example move=0x100 move=0x100x300x0x1 |
movein =[axis vel flag] |
moveout =[axis vel flag] |
r =x y z[vel count pingpong] |
scale = start end [vel count pingpong] |
scale layer
start | is size in x axis (can be decimal). |
end | is size in y axis (can be decimal). |
vel | is speed 1..inf, more is fastest, default is 300 |
count | is loop time, 0 is infinite, default is 0 |
pingpong | is loop style 1 = enable, 0 = disable, default is 0 Example scale=1x2x1 scale=1x2x1x0x1 |
video = "filename" [loop] |
visible = axis start end [vel count pingpong flag] |
visible layer
axis | 0 is x, 1 is y. |
start | is visible size in x axis (0..100). |
end | is visible size in y axis (0..100). |
vel | is speed 1..inf, more is fastest, default is 300 |
count | is loop time, 0 is infinite, default is 0 |
pingpong | is loop style 1 = enable, 0 = disable, default is 0 |
flag | is visible pin default is left: 0 = left 1 = right 2 = top 3 = bottom 4 = center Example horizontal visible visible=0x0x100x100 visible=1x0x100x100 |