Component:QuaternionMemberEditor

From Resonite Wiki
Component image 
Quaternion Member Editor component as seen in the Scene Inspector


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

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.

Examples

See Also