Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

ResourceImporterBMFont

繼承: ResourceImporter < RefCounted < Object

.fbx 場景檔案格式的匯入器。

說明

BMFont 格式是由 BMFont 程式建立的格式。許多與 BMFont 相容的程式也存在,例如BMGlyph

ResourceImporterImageFont 相比,ResourceImporterBMFont 支援具有不同字形寬度/高度的點陣字形。

另請參閱 ResourceImporterDynamicFont。、""、""、"False"、""、""、""

教學

屬性

bool

compress

true

Array

fallbacks

[]

int

scaling_mode

2


屬性說明

bool compress = true 🔗

如果為 true,則對二進位資源使用無失真壓縮。


Array fallbacks = [] 🔗

如果在此點陣字形中找不到字形,則要使用的字形後備列表。首先嘗試陣列開頭的字形。


int scaling_mode = 2 🔗

Font scaling mode.