Overview
Fixture Definitions allow you to create structured metadata for DMX fixture types in VRSL. While VRSL handles fixture control internally, Fixture Definitions provide:- Documentation: Define what each DMX channel does for a fixture type
- Export Compatibility: Provide fixture type information for MVR/PDF exports
- Organization: Categorize fixtures by manufacturer/model
- Reference: Quick lookup for channel functions during programming
Fixture Definitions are cosmetic metadata only. They do not affect how VRSL controls fixtures at runtime. They are primarily used by the DMX Patch Exporter.
Creating a Fixture Definition File
Name the File
Give it a descriptive name like
MyVenue_FixtureDefinitions.asset or MovingHeadSpot_Definitions.assetFixture Definition Inspector
Main Interface
Screenshot would show: The Fixture Definition inspector with multiple definitions, each showing expandable channel lists and +/- buttons.
- Size Field: Total number of fixture definitions in this file
- +/- Buttons: Quick add/remove definition entries
- Save Changes Button: Commits modifications to the asset
- Definition Entries: Expandable sections for each fixture type
Definition Entry Structure
Each fixture definition contains:Creating Fixture Definitions
Example: Moving Head Spotlight
Set Channel Count
Use the +/- buttons to set the number of channels (e.g., 16 for a 16-channel fixture).
Define Channel Functions
Fill in each channel:
- Channel 1:
Pan - Channel 2:
Pan Fine - Channel 3:
Tilt - Channel 4:
Tilt Fine - Channel 5:
Dimmer - Channel 6:
Shutter/Strobe - Channel 7:
Red - Channel 8:
Green - Channel 9:
Blue - Channel 10:
White - Channel 11:
Color Wheel - Channel 12:
Gobo Wheel - Channel 13:
Gobo Rotation - Channel 14:
Prism - Channel 15:
Focus - Channel 16:
Control/Reset
Example: LED PAR Can
Channel Naming Conventions
Use clear, industry-standard names for channel functions:Movement Channels
Pan- Horizontal rotationPan Fine- 16-bit pan precisionTilt- Vertical rotationTilt Fine- 16-bit tilt precision
Intensity Channels
Dimmer- Master intensityDimmer Fine- 16-bit dimmer precision
Color Channels
Red,Green,Blue- RGB color mixingWhite,Amber,UV- Additional color emittersColor Wheel- Physical color wheel positionCTO- Color temperature correctionColor Macro- Pre-programmed colors
Beam Channels
Shutter/Strobe- Shutter control and strobe effectsGobo Wheel- Gobo pattern selectionGobo Rotation- Gobo spin speed/positionPrism- Prism insertion and rotationIris- Beam diameter controlFocus- Beam focus near/farZoom- Beam angle adjustmentFrost- Beam diffusion
Control Channels
Control/Reset- Special functions and resetMacro- Built-in macro programsSpeed- Effect speed control
Assigning Definitions to Fixtures
In Unity Inspector
Find Fixture Type Property
Locate the Fixture Type dropdown in the VRSL_DMX_Static component inspector.
In VRSL Manager Window
Fixture type selection is also available in the VRSL Manager Window:- Open VRSL Manager Window
- Expand a fixture’s foldout
- Select fixture type from dropdown
- Click “Apply Changes”
Fixture type assignments are saved with the fixture GameObject and included in patch data exports.
Using Definitions in Exports
JSON Export
Fixture definitions appear in JSON exports:MVR Export
Fixture type names are embedded in MVR files:- Used for fixture matching in consoles
- Helps previz software render correct fixtures
- Provides GDTF lookup hints
PDF Export
The PDF patch sheet includes:- Fixture type in the type column
- Channel count derived from definition
- Optional channel layout appendix
Editing Existing Definitions
Modify as Needed
- Change fixture type name
- Add/remove channels with +/- buttons
- Update channel function names
Deleting Definitions
Note: Last Definition Removed
Definitions are removed from the end of the list. To remove a specific definition, you’ll need to manually reorganize.
Fixture Definition File Structure
Internal Data Structure
ScriptableObject
Best Practices
Naming Fixtures
- Include Channel Count:
Moving Head Spot - 16ch - Specify Mode:
LED Wash - RGBW ModevsLED Wash - HSI Mode - Note Manufacturer:
Chauvet Rogue R2 Spot - Differentiate Variants:
Generic PAR - 3ch RGBvsGeneric PAR - 4ch RGBW
Organizing Definition Files
Single File Approach (Recommended for small setups):VenueFixtures.asset- All fixtures in one file
MovingHeads.asset- All moving head typesLEDPars.asset- All PAR can typesEffects.asset- Strobes, blinders, special effectsDimmers.asset- Conventional dimmed fixtures
Matching Real-World Fixtures
- Consult Manufacturer DMX Chart: Use official channel layouts from product manuals
- Match Channel Count: Ensure definition has same number of channels as real fixture
- Use Standard Names: Stick to industry terminology for cross-software compatibility
- Document Mode: If fixture has multiple DMX modes, specify which mode the definition represents
Maintenance
- Keep definition files in version control
- Update definitions when adding new fixture types to venue
- Archive old definitions for discontinued fixtures
- Share definition files across projects that use same fixtures
Common Fixture Type Examples
Moving Head Spot (16ch)
Moving Head Wash (12ch)
LED PAR RGBAW (5ch)
Strobe (1ch)
API Reference
VRSL_FixtureDefinitions Methods
GetNames()
Returns an array of all fixture type names in the definition file.GetChannelDefinition(int defID)
Returns the channel layout for a specific definition by index.DefinitionsArraySize
Property to get or set the number of definitions in the file.FixtureDefinition Struct
SetNewChannelSize(int size)
Resizes the channel array while preserving existing data.Troubleshooting
Fixture Types Not Appearing in Dropdown
Fixture Types Not Appearing in Dropdown
- Verify fixture definition file exists in project
- Check that definitions have been saved (click Save Changes)
- Ensure definition names are not empty strings
- Try restarting Unity to refresh asset database
Save Changes Button Does Nothing
Save Changes Button Does Nothing
Fixture Types Missing in Export
Fixture Types Missing in Export
- Verify fixtures have fixture type assigned
- Check that fixture type name matches definition file exactly
- Ensure definition file is included in build/export
Channel Layout Wrong in PDF
Channel Layout Wrong in PDF
- Verify channel count matches real fixture
- Check for typos in channel names
- Ensure correct fixture type assigned to fixture
- Regenerate export after fixing definitions
Related Documentation
- DMX Patch Exporter - Uses fixture definitions in exports
- VRSL Manager Window - Assign fixture types to fixtures
- DMX Fixture Component - Runtime fixture control