Overview
To add a Scene control panel to a scene or base scene:
- Navigate to Toolbox > Resources > Control Panel
- Single click Control panel resource.
A single control panel resource can be added to each individual scene or base scene. Only one control panel is permitted per scene.
To access the Scene Control panel:
- Navigate to: View > Control Panel
The Scene Control panel allows users to design their own panel and bind the Control Panel Objects to Scene Objects. These controls are native .NET controls with a full array or properties and events. These events are bound to the C# scripting editor. The events are viewed by clicking the lightning bolt in the Control Panel Properties panel.
A simple way to bind objects is to drag and drop existing Actions from the timeline, or drag and drop existing Scene Objects from the Scene Tree to the Control Panel. This will automatically add and bind these to the Control Panel Control.
Control panel Controls have their own set of bindings
Control Panel Binding Properties
Mode - Project, Object, and Keyframe
Object - objects within the Scene Tree
Property - selected object properties
Clicking Add will create a blank placeholder Binding which allows users to manual type the Mode, Object, and Property desired.
You can also click the dropdown next to add and select the Mode, Object, and Property.
Selecting a target binding and clicking edit will bring up a populated dropdown UI with the Mode, Object, and Property.
Selecting Project Mode allows users to select the primary project scene group and the scene group properties.
Selecting the Keyframe Mode allows users to select an Object, Action, a specific Keyframe, and the Property that has a Keyframe.
Control Panels have their own set of Properties:
Auto Tab Index - sets the tabbing order for items on the control panel based on their position. The tab order is set automatically from left to right and top to bottom. To set a custom Tab Index uncheck this option and set the Tab Index using the advanced properties.
Selecting the lightning bolt will show all the events for the control:
Buttons allow users to bind different types of commands within the “Properties panel” of the control. In this example, the button is bound to a Condition.
You can continue to bind as many commands to the button as needed.