Component:PrimitiveMemberEditor: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
m fill in some information from memory, of course more needed but can't fill in without getting in resonite and verifying some info
Line 4: Line 4:
}}
}}
{{stub}}
{{stub}}
The [[Component:PrimitiveMemberEditor|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]].


== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|Continuous|Bool|
|Continuous|Bool|
|_path|String|
|_path|String|Member path of target element field to access/edit.
|_target|{{RootFieldType|RelayRef`1|[[Type:IField|IField]]}}|TypeAdv2=true|
|_target|{{RootFieldType|RelayRef`1|[[Type:IField|IField]]}}|TypeAdv2=true|The primitive element to access/edit.
|Format|String|
|Format|String|
|_textEditor|'''[[Component:TextEditor|TextEditor]]'''|TypeAdv4=true|
|_textEditor|'''[[Component:TextEditor|TextEditor]]'''|TypeAdv4=true|The TextEditor that points to the [[Component:Text|Text Component]] used for <code>_textDrive</code>.
|_textDrive|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv5=true|
|_textDrive|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv5=true|Text field used as an interface to the member. Should be the <code>Content</code> field of a [[Component:Text|Text Component]].
|_button|'''[[Component:Button|Button]]'''|TypeAdv6=true|
|_button|'''[[Component:Button|Button]]'''|TypeAdv6=true|
|_resetButton|'''[[Component:Button|Button]]'''|TypeAdv7=true|
|_resetButton|'''[[Component:Button|Button]]'''|TypeAdv7=true|
Line 22: Line 24:


== See Also ==
== See Also ==
* [[Things_to_Avoid#Reference_IDs_/_"Ref_Hacking"]]
* [[Tutorial:Ref Hacking]]


[[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]]
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]

Revision as of 20:07, 20 May 2024

Component image 
Primitive Member Editor component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


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.

Usage

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
_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

Behavior

Examples

See Also