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.
{{Note|This can be used for [[Ref Hacking]], and isn't meant to really be used by the user due to being in uncategorized. use at your own risk.|warning}}
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Continuous|Bool|
|Continuous|Bool| Whether changes update a value instantly.
|_path|String|
|_path|String| see [[Ref Hacking]]. essentially accesses a member underneath another one. for example, "x" will access the x element of a Float3, Float2, Float4, or FloatQ.
|_target|{{RootFieldType|RelayRef`1|[[Type:IField|IField]]}}|TypeAdv2=true|Target field, which should be a FloatQ.
|_target|{{RootFieldType|RelayRef`1|[[Type:IField|IField]]}}|TypeAdv2=true|Target field, which should be a FloatQ.
|Vertical|Bool|Whether the target UI is a vertical layout, as opposed to a horizontal layout.
|Vertical|Bool|Whether the target UI is a vertical layout, as opposed to a horizontal layout.
Line 21:
Line 22:
|_yButton|'''[[Component:Button|Button]]'''|TypeAdv11=true|Button whose sync delegates are attached to the <code>_yEditor</code>
|_yButton|'''[[Component:Button|Button]]'''|TypeAdv11=true|Button whose sync delegates are attached to the <code>_yEditor</code>
|_zButton|'''[[Component:Button|Button]]'''|TypeAdv12=true|Button whose sync delegates are attached to the <code>_zEditor</code>
|_zButton|'''[[Component:Button|Button]]'''|TypeAdv12=true|Button whose sync delegates are attached to the <code>_zEditor</code>
|_editingValue|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Double3|Double3]]>'''|TypeAdv13=true| The value that the user is currently entering at it's current editing state. updates continuously.
[[Category:Components:Uncategorized{{#translation:}}|Quaternion Member Editor]]
[[Category:Components:Uncategorized{{#translation:}}|Quaternion Member Editor]]
[[Category:Components{{#translation:}}|Quaternion Member Editor]]
[[Category:Components{{#translation:}}|Quaternion Member Editor]]
Revision as of 06:32, 17 March 2025
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.
This can be used for Ref Hacking, and isn't meant to really be used by the user due to being in uncategorized. use at your own risk.
see Ref Hacking. essentially accesses a member underneath another one. for example, "x" will access the x element of a Float3, Float2, Float4, or FloatQ.
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.