Kairos
Kairos copied to clipboard
Define attributes of properties for reflection-based editors in the Inspector
The list of attributes that we need in order to customize the editing of the datatype properties.
- Widget <String>
- Size <Vector2> (if 0 it is elastic)
- Default Value <T>
- Minimum Value <T>
- Maximum Value <T>
- Unit <String>
- Step Size <T>
- Is Cycled
- Hide
- Expose
- Format <String>
- IsMonitor
- GridLayoutCoord (Vector2) (check if we can use the position of the first top-left pad)
- SortingIndex (Float32) (check if we can use the position of the first top-left pad)
Type (IVLObject) Attributes:
- VisualizationType (Tree/Tabs/Popup)
- LayoutType <String>
- Size <Vector2> (if 0 it is elastic)
- Columns <Spread<Integer32>>(2,3,5, ...) (Elements per column)
- Rows <Spread<Integer32>>(2,3,5, ...) (Elements per row)
- Grid
(3,4) (Columns, Rows count)
....
Does it make also sense to define here which kind of interpolation method is applied to the Property?
I would say that the interpolation method is stored into the keyframe/clip model, because you might want to have different interpolation techniques in different keyframes.
We could eventually have a "default interpolation method
Default interpolation method (string)
It sounds good to me
@azeno these attributes count be a good start for testing the inspector features