PresetDocFixtureView:GetPresetCount

From Moving Light Assistant
Jump to: navigation, search

GetPresetCount()

Returns an integer.
Available in MLA v1.3 onwards.

This function will return the number of preset rows displayed in the Preset Documentation Fixture preset list.

Example.

numPresets = PresetDocFixtureView:GetPresetCount()

This would assign to the variable numPresets the number of presets displayed in the fixture preset list.