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.
== Usage ==
{{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 ==
{{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.
|_xDrive|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv7=true|Field to be driven by the X angle. Should be the <code>Content</code> field on the [[Component:Text|Text]] component that <code>_xEditor</code> is pointing to.
|_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.
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.
== Examples ==
== Examples ==
== See Also ==
== See Also ==
* [[Ref Hacking]]
[[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]]
[[Category:ComponentStubs]]
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.