mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Implement Label3D node.
Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.
This commit is contained in:
@@ -121,6 +121,13 @@
|
||||
Returns bitmap font fixed size.
|
||||
</description>
|
||||
</method>
|
||||
<method name="font_get_generate_mipmaps" qualifiers="virtual const">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="font_rid" type="RID" />
|
||||
<description>
|
||||
Returns [code]true[/code] if font texture mipmap generation is enabled.
|
||||
</description>
|
||||
</method>
|
||||
<method name="font_get_global_oversampling" qualifiers="virtual const">
|
||||
<return type="float" />
|
||||
<description>
|
||||
@@ -193,6 +200,24 @@
|
||||
Returns index of the cache texture containing the glyph.
|
||||
</description>
|
||||
</method>
|
||||
<method name="font_get_glyph_texture_rid" qualifiers="virtual const">
|
||||
<return type="RID" />
|
||||
<argument index="0" name="font_rid" type="RID" />
|
||||
<argument index="1" name="size" type="Vector2i" />
|
||||
<argument index="2" name="glyph" type="int" />
|
||||
<description>
|
||||
Returns resource id of the cache texture containing the glyph.
|
||||
</description>
|
||||
</method>
|
||||
<method name="font_get_glyph_texture_size" qualifiers="virtual const">
|
||||
<return type="Vector2" />
|
||||
<argument index="0" name="font_rid" type="RID" />
|
||||
<argument index="1" name="size" type="Vector2i" />
|
||||
<argument index="2" name="glyph" type="int" />
|
||||
<description>
|
||||
Returns size of the cache texture containing the glyph.
|
||||
</description>
|
||||
</method>
|
||||
<method name="font_get_glyph_uv_rect" qualifiers="virtual const">
|
||||
<return type="Rect2" />
|
||||
<argument index="0" name="font_rid" type="RID" />
|
||||
@@ -581,6 +606,14 @@
|
||||
If set to [code]true[/code] auto-hinting is preferred over font built-in hinting.
|
||||
</description>
|
||||
</method>
|
||||
<method name="font_set_generate_mipmaps" qualifiers="virtual">
|
||||
<return type="void" />
|
||||
<argument index="0" name="font_rid" type="RID" />
|
||||
<argument index="1" name="generate_mipmaps" type="bool" />
|
||||
<description>
|
||||
If set to [code]true[/code] font texture mipmap generation is enabled.
|
||||
</description>
|
||||
</method>
|
||||
<method name="font_set_global_oversampling" qualifiers="virtual">
|
||||
<return type="void" />
|
||||
<argument index="0" name="oversampling" type="float" />
|
||||
@@ -927,6 +960,14 @@
|
||||
Converts a number from the numeral systems used in [code]language[/code] to Western Arabic (0..9).
|
||||
</description>
|
||||
</method>
|
||||
<method name="parse_structured_text" qualifiers="virtual const">
|
||||
<return type="Array" />
|
||||
<argument index="0" name="parser_type" type="int" enum="TextServer.StructuredTextParser" />
|
||||
<argument index="1" name="args" type="Array" />
|
||||
<argument index="2" name="text" type="String" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="percent_sign" qualifiers="virtual const">
|
||||
<return type="String" />
|
||||
<argument index="0" name="language" type="String" />
|
||||
|
||||
Reference in New Issue
Block a user