Builtin Variables

< Previous | Contents | Manuals Home | Boris FX | Next >

Builtin Variables

axisMode The current Sizzle axis mode --- this starts as the scene's but can be changed at will to match up- or downstream applications, changing the values of attributes such as tracker position. Zup=0, Yup=1, Yupleft=2

frame The current Sizzle frame number — always starts at zero. This starts as the scene frame number when the script starts, and can be changed independently after that as needed. Use Scene.SetFrame() to change the scene's frame number.

null A variable containing null, ie nothing. Don't change! Convenience only, since all unassigned variables have the value null.

Pi 3.14159…

rotOrder The current sizzle rotation order, affecting the values of relevant attributes. This can be set to match target applications so that desired values are obtained. 0=zxy, 1=xyz, 2=zyx, 3=yxz

true, false These variables contain special values generated for true and false in JSON encoding. The values are considered to be standard “double” floating point values, either 1 or 0, in most contexts. The special values can be detected with a typeof(val) == “Boolean” instead of “Double”.


©2023 Boris FX, Inc. — UNOFFICIAL — Converted from original PDF.