1.9.0: Added support for attributes for drawing handles in the scene

This commit is contained in:
Anders Ejlersen 2024-02-11 22:02:10 +01:00
parent 81906d49dd
commit 5ce34bde70
48 changed files with 1354 additions and 8 deletions

View file

@ -176,4 +176,31 @@ To allow fields hidden from inspector either by `NonSerialized` or `HideInInspec
* `EnableShowHiddenFields`
* Enables an additional search to find any "hidden" fields and draw them below `DefaultInspector`
* `ShowHiddenField`
* Optional attribute for fields, if `EnableShowHiddenFields` has parameter `true`
* Optional attribute for fields, if `EnableShowHiddenFields` has parameter `true`
## Handles
List of all handle attributes:
* `BoxHandle`
* Resize a box shaped value, like Vector3
* Optional: Provide a `fieldPosition` and/or `fieldRotation` for handles to position and rotate
* `CircleHandle`
* Resize a circle shaped value, like float
* Optional: Provide a `fieldPosition` for handle to position
* `LabelHandle`
* Write text or field values
* Optional: Provide a `fieldPosition` and/or `fieldRotation` for handles to position and rotate
* `PositionHandle`
* Position handle with option to set number of axis visible (X, Y, Z)
* `RectangleHandle`
* Resize a rectangle shaped value, like Vector2
* Optional: Provide a `fieldPosition` and/or `fieldRotation` for handles to position and rotate
* `RotationHandle`
* Rotation handle for world or self-spaced rotation
* Optional: Provide a `fieldPosition` for handle to position
* `SphereHandle`
* Resize a sphere shaped value, like float
* Optional: Provide a `fieldPosition` and/or `fieldRotation` for handles to position and rotate