Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
top
top

The Program class inherits all properties and methods of the Layer class.

Panel
bgColor#ffffff
borderStylenone
titleOn this page:

Table of Contents
maxLevel2
minLevel2
indent25px
exclude\bElement|\bContainer|\bLayer|\d
typeflat
separator,


Expand
titleList of inherited members...


 

Excerpt include halion
pageLayer

Excerpt include halion
pageElement



Panel

Class Hierarchy

Children Display
alltrue
pageClass Reference


Classes

Panel
borderColor#bbbbbb
bgColor#ffffff

Program Class

Description

The Element object of the program can be obtained with this.program. It has the following fields.

Available in: Controller, Processor.

Fields

.instanceThe Element object of the plug-in instance.Instance
.assignedSlotsAn array with the Element objects of the slots to which this program is assigned.table

Example

Code Block
-- print the name of the plug-in instance
print(this.program.instance.name)

-- print the name of the first slot to which the program is assigned
if this.program.assignedSlots[1] then
	print(this.program.assignedSlots[1].name)
end


Jump to Top

Constructors

Excerpt include halion
pageProgram Constructor

Jump to Top