|
| static const string | Auto = "auto" |
| | Widget is set automatically by script variable type.
|
| |
| static const string | Hidden = "" |
| | Property is hidden when None is used. Same as UIWidgets.None.
|
| |
| static const string | None = "" |
| | Property is hidden when None is used.
|
| |
| static const string | ColorPicker = "colorPicker" |
| | Color wheel picker.
|
| |
| static const string | ResourceNamePicker = "resourcePickerSimple" |
| | Registered resource picker.
|
| |
| static const string | ResourcePickerThumbnail = "resourcePickerThumbnail" |
| | Registered resource picker with thumbnail support.
|
| |
| static const string | FileNamePicker = "fileNamePicker" |
| | File name picker.
|
| |
| static const string | ResourceAssignArray = "resourceAssignArray" |
| | Array of name-ResourceName pairs.
|
| |
| static const string | Date = "date" |
| | Date picker.
|
| |
| static const string | Graph = "graph" |
| | Graph, represented either by enf::DVT_VECTOR2ARRAY or enf::DVT_VECTOR4ARRAY, where the first value is fraction, and rest is value.
|
| |
| static const string | Font = "font" |
| | Font picker. m_strParams has no usage. Type must be enf::DVT_STRING.
|
| |
| static const string | SpinBox = "spinbox" |
| | SpinBox.
|
| |
| static const string | ComboBox = "combobox" |
| | Combobox.
|
| |
| static const string | EditComboBox = "editcombobox" |
| |
| static const string | SearchComboBox = "searchcombobox" |
| |
| static const string | LocaleEditBox = "localeeditbox" |
| | Editbox for picking up IDs from localization table.
|
| |
| static const string | EditBox = "editbox" |
| | Editbox.
|
| |
| static const string | CheckBox = "checkbox" |
| | Checkbox. m_strParams has no usage. Type must be enf::DVT_BOOLEAN.
|
| |
| static const string | Slider = "slider" |
| | Slider.
|
| |
| static const string | Flags = "flags" |
| | Array of bit flags represented by checkboxes.
|
| |
| static const string | Button = "button" |
| | Generic ".." button without default functionality.
|
| |
| static const string | Script = "script" |
| | Small script preview and button which opens ScriptEditor to edit script property.
|
| |
| static const string | EditBoxWithButton = "editboxWithButton" |
| | Edit box with a generic ".." button which is without default functionality.
|
| |
| static const string | EditBoxMultiline = "editboxMultiline" |
| | Edit box with a generic ".." button which is used to open separate window with text editor.
|
| |
| static const string | LODFactorsEdit = "lodFactorsEdit" |
| | Dedicated to edit LOD factors. Type must be enf::DVT_SCALAR_ARRAY.
|
| |
| static const string | Object = "object" |
| | Single object or an array of objects (depends on variable definition).
|
| |
| static const string | Coords = "coords" |
| | 3-element vector type in X/Y/Z form. Type must be enf::DVT_VECTOR3.
|
| |
| static const string | Range = "range" |
| | 2-element vector type in min-max form. Type must be enf::DVT_VECTOR2.
|
| |
| static const string | Callback = "callback" |
| | Array of CallbackClass objects.
|
| |
| static const string | TopLevelObject = "topLevelObject" |
| | Single object or an array of objects (depends on variable definition).
|
| |
| static const string | GraphDialog = "graphDialog" |
| | Property parameters for curve consists of:
|
| |
| static const string | CurveDialog = "curveDialog" |
| |
| static const string | BoundingVolumeEditor = "boundingVolume" |
| | Editor which displays min and max bounds, also allows using the BoundingVolumeEditor.
|
| |
| const string UIWidgets.FileNamePicker = "fileNamePicker" |
|
static |
File name picker.
m_strParams contains file extensions separated by whitespace. For folders there are reserved virtual extensions "folders".
Returned path is exact path (in format "$filesystemName:path"). For absolute path use FileNameFormat=absolute e.g. "emat FileNameFormat=absolute".
Only for editor stuff. All game paths must use ResourceName + ResourcePicker.
Type must be enf::DVT_STRING.
| const string UIWidgets.GraphDialog = "graphDialog" |
|
static |
Property parameters for curve consists of:
"type = CurveType [fixed], ends = EndCondition [fixed], default = DefaultValue, paramRange = ParamMin ParamMax [fixed], valueRange = ValueMin ValueMax [fixed]"
- type: Default curve type selected
- ends: Default end type selected
- default: Default value when no knots are present, for example "1" or "(1, 1, 1)" for a 3D curve
- paramRange: Default parameter range limit, for example "0 1"
- valueRange: Default value range limit, computed values will be clamped to this range
Curve types:
- Akima - Akima spline provides human- like interpolation (based on 6 people in the original paper)
- ModifiedAkima - Snappier Akima spline which doesn't overshoot
- Linear - C0-continuous spline (position)
- Catmull-Rom - C1-continuous spline (position, tangents)
- Natural - C2-continuous spline (position, tangents, acceleration)
- Custom - Manual assignment of tangents
- Legacy - Catmull-Rom-like spline, avoid it if possible
End condition:
- Open - Free ends and extrapolation from the ends
- OpenFlat - Free ends, derivative may be non-zero but value is fixed outside range
- Flat - Zero tangent at the ends, fixed value outside range
- Closed - Loop spline (needs a finite parameter range)
The parameters can be blocked from editing by the user with "fixed" and none are mandatory.
| const string UIWidgets.ResourceNamePicker = "resourcePickerSimple" |
|
static |
Registered resource picker.
m_strParams contains file extensions separated by whitespace. For folders there are reserved virtual extensions "folders" and "unregFolders" that can be mixed with other file extensions. "unregFolders" allows to choose also unregistered folders which is good when property will not be saved to game data (scripted tools for example).
You can also specify param that will filter config files of specific class. Use "class=MyClassName" param for that. By default the filter passes also all classes that are being inherited from MyClassName. If you don't want to allow it then you can use extra param "inheritedClasses=false"
Type must be enf::DVT_RESOURCENAME.
| const string UIWidgets.ResourcePickerThumbnail = "resourcePickerThumbnail" |
|
static |
Registered resource picker with thumbnail support.
m_strParams contains file extensions separated by whitespace. For folders there are reserved virtual extensions "folders" and "unregFolders" that can be mixed with other file extensions. "unregFolders" allows to choose also unregistered folders what is good when property will not be saved to game data (scripted tools for example)
You can also specify param that will filter config files of specific class. Use "class=MyClassName" param for that. By default the filter passes also all classes that are being inherited from MyClassName. If you don't want to allow it then you can use extra param "inheritedClasses=false"
Type must be enf::DVT_RESOURCENAME