Skip to content

Custom Variables

Joshua Miller edited this page Nov 30, 2022 · 1 revision

Some variables come pre-included in the lua environment:

  • imageWidth: The integer width [x] of the image in pixels. Always available.
  • imageHeight: The integer height [y] of the image in pixels. Only available for 2D & 3D images.
  • imageDepth: The integer depth [z] of the image in pixels. Only available for 3D images.
  • PI: 3.14159274
Clone this wiki locally