Component:DynamicSpriteFont

From Resonite Wiki
Revision as of 21:28, 14 January 2025 by 989onan (talk | contribs) (add some info)
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. Some components stop their functionality when this field is disabled, but some don't.
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 A list of Font characters that should make up this dynamic font.

SpriteGlyph

Fields
Name Type Description
SpriteURL Uri The resource URI of the Font character.
UnicodeCodepoint UInt the Unicode number of this Font character. See Wikipedia list of unicode characters.
SpriteName String The name of the Sprite.
Bearing Float2
Advance Float2
Size Float
Tintable Bool Whether this glyph is affectable by Font color.

Usage

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

Examples

See Also