Godot - Engine 功能模塊

屬性/方法 描述
bool editor_hint 對工具腳本有效?
int iterations_per_second 物理引擎迭代次數(shù)
int target_fps 每秒幀數(shù),默認(rèn)0,自動
float time_scale 時間尺度縮放,默認(rèn)為1,設(shè)置為2則2倍速運行游戲,0.5則減慢一半速度運行游戲
Dictionary get_author_info ( ) const 獲得作者信息
- lead_developers string 開發(fā)者名字
- founders array
- project_managers array
- developers array 開發(fā)者
Array get_copyright_info ( ) const 版權(quán)信息
- name
- parts
Dictionary get_donor_info ( ) const 捐贈者信息
- {“platinum_sponsors”, “gold_sponsors”, “mini_sponsors”, “gold_donors”, “silver_donors”, “bronze_donors”}
int get_frames_drawn ( ) 繪制幀數(shù)
float get_frames_per_second ( ) const 每秒幀數(shù)
Dictionary get_license_info ( ) const 證書信息
String get_license_text ( ) const 證書文本
MainLoop get_main_loop ( ) const 主循環(huán)抽象類對象 MainLoop
Object get_singleton ( String name ) const 獲取插件單例的方法,因插件的api都是來自非gdscript區(qū),因此,插件模塊和游戲之間耦合性不是太高
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容