Component:DynamicSpriteFont: Difference between revisions

From Resonite Wiki
imported>Mysticporo
Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=DynamicSpriteFontComponent.png |Name=Dynamic Sprite Font }} <!--T:2--> == Fields == {{Table..."
 
Automated: update 'HighPriorityIntegration' description
 
(6 intermediate revisions by 2 users not shown)
Line 11: Line 11:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|HighPriorityIntegration|Bool|
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}}
|MaxSize|Int|
|MaxSize|Int|
|Glyphs|SyncList`1|TypeString2=SyncList<SpriteGlyph>|
|Glyphs|{{RootFieldType|SyncList`1|[[#SpriteGlyph|SpriteGlyph]]}}|TypeAdv2=true|
}}
}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
== SpriteGlyph ==
{{stub}}
=== Fields ===
{{Table TypeFields
|SpriteURL|Uri|
|UnicodeCodepoint|UInt32|
|SpriteName|String|
|Bearing|Float2|
|Advance|Float2|
|Size|Float|
}}


<!--T:4-->
<!--T:4-->
Line 28: Line 41:
[[Category:Components{{#translation:}}|Dynamic Sprite Font]]
[[Category:Components{{#translation:}}|Dynamic Sprite Font]]
[[Category:Components:Assets:Procedural Fonts{{#translation:}}|Dynamic Sprite Font]]
[[Category:Components:Assets:Procedural Fonts{{#translation:}}|Dynamic Sprite Font]]
[[Category:Components With Nested Types{{#translation:}}|Dynamic Sprite Font]]

Latest revision as of 11:59, 1 August 2024


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Dynamic Sprite Font component as seen in the Scene Inspector


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.
HighPriorityIntegration Bool If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes.
MaxSize Int
Glyphs list of SpriteGlyph

Usage

SpriteGlyph

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Fields

Fields
Name Type Description
SpriteURL Uri
UnicodeCodepoint UInt32
SpriteName String
Bearing Float2
Advance Float2
Size Float


Examples

Related Components