Godot - Engine 功能模块

属性/方法 描述
bool editor_hint 对工具脚本有效?
int iterations_per_second 物理引擎迭代次数
int target_fps 每秒帧数,默认0,自动
float time_scale 时间尺度缩放,默认为1,设置为2则2倍速运行游戏,0.5则减慢一半速度运行游戏
Dictionary get_author_info ( ) const 获得作者信息
- lead_developers string 开发者名字
- founders array
- project_managers array
- developers array 开发者
Array get_copyright_info ( ) const 版权信息
- name
- parts
Dictionary get_donor_info ( ) const 捐赠者信息
- {“platinum_sponsors”, “gold_sponsors”, “mini_sponsors”, “gold_donors”, “silver_donors”, “bronze_donors”}
int get_frames_drawn ( ) 绘制帧数
float get_frames_per_second ( ) const 每秒帧数
Dictionary get_license_info ( ) const 证书信息
String get_license_text ( ) const 证书文本
MainLoop get_main_loop ( ) const 主循环抽象类对象 MainLoop
Object get_singleton ( String name ) const 获取插件单例的方法,因插件的api都是来自非gdscript区,因此,插件模块和游戏之间耦合性不是太高
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容