Component:WorldTextRendererWizard: Difference between revisions

From Resonite Wiki
add info
add sync delegate desc
 
(2 intermediate revisions by one other user not shown)
Line 15: Line 15:
|Color|ColorX| What color to change the texts to.
|Color|ColorX| What color to change the texts to.
|_tag|'''[[Component:TextField|TextField]]'''|TypeAdv7=true| Only process texts with this tag.
|_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.
}}
}}



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