luxe: system/text.modifier
import "luxe: system/text.modifier" for Datano docs found
Variables
Section titled “Variables”var text : String = "hello"var size : Num = 16var align : TextAlignH = TextAlignH.centervar vertical : TextAlignV = TextAlignV.centervar color : Color = [1, 1, 1, 1]var bounds : Float4 = [0, 0, 0, 0]var font : Asset = "luxe: font/lato"var material : Asset = "luxe: material/font"System
Section titled “System”import "luxe: system/text.modifier" for Systemno docs found
System.new(.)
Section titled “System.new(.)”System.new(world : World) : Systemno docs found
import "luxe: system/text.modifier" for Textno docs found
Text.create(…)
Section titled “Text.create(…)”Text.create(entity : Any, material : Any, default_size : Any, default_font : Any, default_color : Any) : unknownno docs found
Text.destroy(.)
Section titled “Text.destroy(.)”Text.destroy(entity : Any) : unknownno docs found
Text.set_size(..)
Section titled “Text.set_size(..)”Text.set_size(entity : Any, default_size : Any) : unknownno docs found
Text.get_size(.)
Section titled “Text.get_size(.)”Text.get_size(entity : Any) : unknownno docs found
Text.set_font(..)
Section titled “Text.set_font(..)”Text.set_font(entity : Any, default_font : Any) : unknownno docs found
Text.get_font(.)
Section titled “Text.get_font(.)”Text.get_font(entity : Any) : unknownno docs found
Text.set_style(..)
Section titled “Text.set_style(..)”Text.set_style(entity : Entity, style : TextStyle) : Noneno docs found
Text.get_style(.)
Section titled “Text.get_style(.)”Text.get_style(entity : Entity) : TextStyleno docs found
Text.set_outline(…)
Section titled “Text.set_outline(…)”Text.set_outline(entity : Entity, radius : Num, softness : Num, color : Color, offset : Float2) : unknownno docs found
Text.set_shadow(…)
Section titled “Text.set_shadow(…)”Text.set_shadow(entity : Entity, radius : Num, softness : Num, color : Color, offset : Float2) : unknownno docs found
Text.set_max_visible(..)
Section titled “Text.set_max_visible(..)”Text.set_max_visible(entity : Entity, max_visible : Num) : Noneno docs found
Text.get_max_visible(.)
Section titled “Text.get_max_visible(.)”Text.get_max_visible(entity : Entity) : Numno docs found
Text.set_color(..)
Section titled “Text.set_color(..)”Text.set_color(entity : Any, default_color : Any) : unknownno docs found
Text.get_color(.)
Section titled “Text.get_color(.)”Text.get_color(entity : Any) : unknownno docs found
Text.set_align(…)
Section titled “Text.set_align(…)”Text.set_align(entity : Any, align : Any, align_vertical : Any) : unknownno docs found
Text.set_align(..)
Section titled “Text.set_align(..)”Text.set_align(entity : Any, align : Any) : unknownno docs found
Text.get_align(.)
Section titled “Text.get_align(.)”Text.get_align(entity : Any) : unknownno docs found
Text.set_align_vertical(..)
Section titled “Text.set_align_vertical(..)”Text.set_align_vertical(entity : Any, align_vertical : Any) : unknownno docs found
Text.get_align_vertical(.)
Section titled “Text.get_align_vertical(.)”Text.get_align_vertical(entity : Any) : unknownno docs found
Text.set_bounds(…)
Section titled “Text.set_bounds(…)”Text.set_bounds(entity : Any, x : Any, y : Any, w : Any, h : Any) : unknownno docs found
Text.get_bounds(.)
Section titled “Text.get_bounds(.)”Text.get_bounds(entity : Any) : unknownno docs found
Text.set_attr(…)
Section titled “Text.set_attr(…)”Text.set_attr(entity : Entity, start : Num, length : Num, type : TextAttrType, key : String, value : Any) : Noneno docs found
Text.attr_clear(.)
Section titled “Text.attr_clear(.)”Text.attr_clear(entity : Any) : unknownno docs found
Text.commit(.)
Section titled “Text.commit(.)”Text.commit(entity : Any) : unknownno docs found
Text.get_render_text(.)
Section titled “Text.get_render_text(.)”Text.get_render_text(entity : Any) : unknownno docs found
Text.get_geometry(.)
Section titled “Text.get_geometry(.)”Text.get_geometry(entity : Any) : unknownno docs found
Text.get_extents(…)
Section titled “Text.get_extents(…)”Text.get_extents(entity : Any, offset : Any, count : Any) : unknownno docs found
Text.get_extents(.)
Section titled “Text.get_extents(.)”Text.get_extents(entity : Any) : unknownno docs found
Text.contains(…)
Section titled “Text.contains(…)”Text.contains(entity : Any, x : Any, y : Any) : unknownno docs found
Text.has(.)
Section titled “Text.has(.)”Text.has(entity : Any) : unknownno docs found
Text.set_loc(…)
Section titled “Text.set_loc(…)”Text.set_loc(entity : Entity, space : String, key : String) : unknownno docs found
Text.set_loc(..)
Section titled “Text.set_loc(..)”Text.set_loc(entity : Entity, key : String) : unknownno docs found
Text.set_loc_with_args(…)
Section titled “Text.set_loc_with_args(…)”Text.set_loc_with_args(entity : Entity, space : String, key : String, args : List) : unknownno docs found
Text.set_loc_with_args(…)
Section titled “Text.set_loc_with_args(…)”Text.set_loc_with_args(entity : Entity, key : String, args : List) : unknownno docs found
Text.get_text(.)
Section titled “Text.get_text(.)”Text.get_text(entity : Any) : unknownno docs found
Text.set_text_buffer(..)
Section titled “Text.set_text_buffer(..)”Text.set_text_buffer(entity : Any, string : Any) : unknownno docs found
Text.set_text(..)
Section titled “Text.set_text(..)”Text.set_text(entity : Any, string : Any) : unknownno docs found
TextAlignH
Section titled “TextAlignH”import "luxe: system/text.modifier" for TextAlignHno docs found
TextAlignH.left
Section titled “TextAlignH.left”TextAlignH.left : unknownno docs found
TextAlignH.center
Section titled “TextAlignH.center”TextAlignH.center : unknownno docs found
TextAlignH.right
Section titled “TextAlignH.right”TextAlignH.right : unknownno docs found
TextAlignV
Section titled “TextAlignV”import "luxe: system/text.modifier" for TextAlignVno docs found
TextAlignV.top
Section titled “TextAlignV.top”TextAlignV.top : unknownno docs found
TextAlignV.center
Section titled “TextAlignV.center”TextAlignV.center : unknownno docs found
TextAlignV.bottom
Section titled “TextAlignV.bottom”TextAlignV.bottom : unknownno docs found