YarnStyleMarkerProcessor
parse-time processor that converts [style] markup tags to bbcode. supports bold, italic, underline, strikethrough, code, and custom names.
class_name YarnStyleMarkerProcessor
extends YarnAttributeMarkerProcessorInherits from YarnAttributeMarkerProcessor
#Properties
#styles
optional stylesheet consulted before the built-in styles: maps a lowercased style name to a Dictionary with "start" and "end" bbcode strings. the Godot counterpart of a TextMeshPro style sheet.
var styles: Dictionary = {}Type Dictionary
#Methods
#process_replacement_marker(YarnMarkupAttribute, Array, Array, String)
func process_replacement_marker(marker: YarnMarkupAttribute, child_builder: Array, child_attributes: Array, locale_code: String) -> YarnAttributeMarkerProcessor.ReplacementMarkerResultParameters
markerYarnMarkupAttributechild_builderArraychild_attributesArraylocale_codeString
Returns YarnAttributeMarkerProcessor.ReplacementMarkerResult
Generated from Yarn Spinner for Godot GDScript 3.3.