m remove stub category. |
m fix headings |
||
Line 6: | Line 6: | ||
The '''QuaternionMemberEditor''' component is a low-level component for use in editing [[Type:FloatQ|FloatQ]] elements as XYZ Euler angles in degrees. It is used, for example, in the ProtoFlux input node for FloatQ values. | The '''QuaternionMemberEditor''' component is a low-level component for use in editing [[Type:FloatQ|FloatQ]] elements as XYZ Euler angles in degrees. It is used, for example, in the ProtoFlux input node for FloatQ values. | ||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Continuous|Bool| | |Continuous|Bool| | ||
Line 24: | Line 24: | ||
}} | }} | ||
== | == Usage == | ||
This component's behavior is very similar to [[Component:PrimitiveMemberEditor|PrimitiveMemberEditor]], but a layer of abstraction exists between the FloatQ field in <code>_target</code> and the text field being driven for each member. This abstraction layer converts to and from Euler angles and quaterion values, which is then used for building a UI to edit quaternions as Euler angles. | This component's behavior is very similar to [[Component:PrimitiveMemberEditor|PrimitiveMemberEditor]], but a layer of abstraction exists between the FloatQ field in <code>_target</code> and the text field being driven for each member. This abstraction layer converts to and from Euler angles and quaterion values, which is then used for building a UI to edit quaternions as Euler angles. |
Latest revision as of 21:29, 6 July 2024
Component image
The QuaternionMemberEditor component is a low-level component for use in editing FloatQ elements as XYZ Euler angles in degrees. It is used, for example, in the ProtoFlux input node for FloatQ values.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
Continuous
|
Bool | |
_path
|
String | |
_target
|
direct RelayRef`1<IField> | Target field, which should be a FloatQ. |
Vertical
|
Bool | Whether the target UI is a vertical layout, as opposed to a horizontal layout. |
_xEditor
|
direct RelayRef`1<TextEditor> | TextEditor for the X field. |
_yEditor
|
direct RelayRef`1<TextEditor> | TextEditor for the Y field. |
_zEditor
|
direct RelayRef`1<TextEditor> | TextEditor for the Z field. |
_xDrive
|
field drive of String | Field to be driven by the X angle. Should be the Content field on the Text component that _xEditor is pointing to.
|
_yDrive
|
field drive of String | Field to be driven by the Y angle. |
_zDrive
|
field drive of String | Field to be driven by the Z angle. |
_xButton
|
Button | Button whose sync delegates are attached to the _xEditor
|
_yButton
|
Button | Button whose sync delegates are attached to the _yEditor
|
_zButton
|
Button | Button whose sync delegates are attached to the _zEditor
|
_editingValue
|
Nullable`1<Double3> |
Usage
This component's behavior is very similar to PrimitiveMemberEditor, but a layer of abstraction exists between the FloatQ field in _target
and the text field being driven for each member. This abstraction layer converts to and from Euler angles and quaterion values, which is then used for building a UI to edit quaternions as Euler angles.