touchup, still needs work but that's for later |
m remove stub category. information about the component is there, but an example of its intended use later on might be nice |
||
Line 3: | Line 3: | ||
|Name=Primitive Member Editor | |Name=Primitive Member Editor | ||
}} | }} | ||
The '''PrimitiveMemberEditor''' component is a lower-level component for accessing and editing the members of a particular primitive element. Its intention is for use in UIX objects that use a text field to drive member properties, such as in [[Scene Inspector Dialog|Inspectors]]. It is also, as indicated by a big warning on it, commonly used for [[Ref Hacking]]. | The '''PrimitiveMemberEditor''' component is a lower-level component for accessing and editing the members of a particular primitive element. Its intention is for use in UIX objects that use a text field to drive member properties, such as in [[Scene Inspector Dialog|Inspectors]]. It is also, as indicated by a big warning on it, commonly used for [[Ref Hacking]]. | ||
Line 30: | Line 29: | ||
[[Category:Components:Uncategorized{{#translation:}}|Primitive Member Editor]] | [[Category:Components:Uncategorized{{#translation:}}|Primitive Member Editor]] | ||
[[Category:Components{{#translation:}}|Primitive Member Editor]] | [[Category:Components{{#translation:}}|Primitive Member Editor]] | ||
Revision as of 20:11, 6 June 2024
Component image
The PrimitiveMemberEditor component is a lower-level component for accessing and editing the members of a particular primitive element. Its intention is for use in UIX objects that use a text field to drive member properties, such as in Inspectors. It is also, as indicated by a big warning on it, commonly used for Ref Hacking.
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 | Member path of target element field to access/edit. |
_target
|
direct RelayRef`1<IField> | The primitive element to access/edit. |
Format
|
String | The format for representing the target primitive. Same as the Format field for the To String node, but only works on a limited set of primitives. |
_textEditor
|
TextEditor | The TextEditor that points to the Text Component used for _textDrive .
|
_textDrive
|
field drive of String | Text field used as an interface to the member. Should be the Content field of a Text Component.
|
_button
|
Button | |
_resetButton
|
Button |
Usage
This component needs, at minimum, _target
to point to an element with fields, a _textDrive
that points to the Content
field of a Text component, and a _textEditor
that points to a TextEditor with its Text
field pointing to the to the aforementioned Text component.