Component:WorldTextRendererWizard: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add sync delegate desc
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|Name=World Text Renderer Wizard
|Name=World Text Renderer Wizard
}}
}}
{{stub}}
See [[World Text Renderer Wizard]].


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Root|Slot|
|Root|Slot| The root to do processing for.
|Material|{{RootFieldType|AssetRef`1|[[Type:Material|Material]]}}|TypeAdv1=true|
|Material|{{RootFieldType|AssetRef`1|[[Type:Material|Material]]}}|TypeAdv1=true| The material to replace text renderer materials with.
|Font|{{RootFieldType|AssetRef`1|[[Type:FontSet|FontSet]]}}|TypeAdv2=true|
|Font|{{RootFieldType|AssetRef`1|[[Type:FontSet|FontSet]]}}|TypeAdv2=true| The font to override texts with.
|ProcessDisabled|Bool|
|ProcessDisabled|Bool| Whether to process disabled texts or not.
|ProcessStandaloneRenderers|Bool|
|ProcessStandaloneRenderers|Bool| Whether to process [[Component:TextRenderer]]s.
|ProcessUIXRenderers|Bool|
|ProcessUIXRenderers|Bool| Whether to process [[Component:Text]]s.
|Color|ColorX|
|Color|ColorX| What color to change the texts to.
|_tag|'''[[Component:TextField|TextField]]'''|TypeAdv7=true|
|_tag|'''[[Component:TextField|TextField]]'''|TypeAdv7=true| Only process texts with this tag.
}}
 
== Sync Delegates ==
{{Table ComponentTriggers
|SetColor:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Handles when the user asks to change the color of all text under the target slot.
|ReplaceFont:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Handles when the user asks to change the font of all text under the target slot.
|ReplaceMaterial:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Handles when the user asks to change the material of all text under the target slot.
}}
}}


== Behavior ==
== Usage ==
See [[World Text Renderer Wizard]].


== Examples ==
== Examples ==
See [[World Text Renderer Wizard]].


== See Also ==
== See Also ==
* [[World Text Renderer Wizard]]


[[Category:Components:Wizards{{#translation:}}|World Text Renderer Wizard]]
[[Category:Components:Wizards{{#translation:}}|World Text Renderer Wizard]]
[[Category:Components{{#translation:}}|World Text Renderer Wizard]]
[[Category:Components{{#translation:}}|World Text Renderer Wizard]]
[[Category:ComponentStubs]]

Latest revision as of 00:22, 4 May 2025

Component image 
World Text Renderer Wizard component as seen in the Scene Inspector

See World Text Renderer Wizard.

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. Some components stop their functionality when this field is disabled, but some don't.
Root Slot The root to do processing for.
Material Material The material to replace text renderer materials with.
Font FontSet The font to override texts with.
ProcessDisabled Bool Whether to process disabled texts or not.
ProcessStandaloneRenderers Bool Whether to process Component:TextRenderers.
ProcessUIXRenderers Bool Whether to process Component:Texts.
Color ColorX What color to change the texts to.
_tag TextField Only process texts with this tag.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
SetColor:ButtonEventHandler ButtonEventHandler Handles when the user asks to change the color of all text under the target slot.
ReplaceFont:ButtonEventHandler ButtonEventHandler Handles when the user asks to change the font of all text under the target slot.
ReplaceMaterial:ButtonEventHandler ButtonEventHandler Handles when the user asks to change the material of all text under the target slot.

Usage

See World Text Renderer Wizard.

Examples

See World Text Renderer Wizard.

See Also