Zindaiji3 adopts Lua as expression language. See Documentations for Lua for details of Lua.
Predefined Variables are defined automatically. Return value is what the expression should return.
Return value may be a scalar value (e.g. particle type) or 3 dimensional vector (e.g. position or rotational angle).
You can call predefined functions for particle information or positions of camera.
C.GetObjectInfo(arg1, arg2, arg3)
calls predefined C-function in Zindaiji3, and it returns values according to arguments (strings or variable).
Valid arguments are registered in buttons. (Some starndard functions like trigonometrics are also registered.)
In the example in the top image, position of particle i is set to variables x,y and z. Then, particle type is classified according to the variables.