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.
Checking the stable version of the documentation...
ResourceImporterBitMap
繼承: ResourceImporter < RefCounted < Object
匯入 BitMap 資源(布林值的二維陣列)。
說明
BitMap 資源通常用作TextureButton 和TouchScreenButton 中的點選遮罩。
教學
屬性
|
||
|
屬性說明
用於產生點陣圖的資料來源。
黑白: HSV 值大於threshold的像素將被視為「已啟用」(位元為true)。如果像素低於或等於閾值,則將被視為「停用」(位元為false)。
Alpha: Alpha 值大於threshold的像素將被視為「啟用」(位元為true)。如果像素低於或等於閾值,則將被視為“已停用”(位元為 false)。
用於確定哪些位元應視為啟用或停用的閾值。另請參閱create_from。