• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 173 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)

11. 分享个资源加载的方法,类似白鹭的加载方式 [ 84%]

...还请见谅 class RES extends Laya.EventDispatcher{ // 资源组 public static groups: any; // 资源 public static resources: any; // 完成加载资源配置文件 public static ONLOADEDRESJSON: string = "onLoadedResJson"; // 资源配置文件加载出错 public static ONLOADERRORRESJSON: string...

来源: Laya_社区 发布时间: 20161011

12. TextInput有禁用中文输入法的功能吗? [ 83%]

...关的链接 提交 2 个回复 Laya_Aaron 赞同来自:         static public const TYPE_TEXT:String = "text";         /** password 类型用于密码域输入。*/         static public const TYPE_PASSWORD:String = "password";         /** email 类型用于应该包...

来源: Laya_社区 发布时间: 20180607

13. 请问 Laya.static在2.0取消了吗 [ 83%]

请问 Laya.static在2.0取消了吗 2019-02-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 faith_leaf 赞同来自:   只是文档资料没有显示   实际仍然可以使用. 2019-02-17 0 0 分享 微博 ...

来源: Laya_社区 发布时间: 20190214

14. laya.media.SoundManager [ 83%]

...Public Properties PropertyDefined By  autoReleaseSound : Boolean = true[static] 音效播放后自动删除。 SoundManager  autoStopMusic : Boolean[static] 失去焦点后是否自动停止背景音乐。 SoundManager  musicMuted : Boolean[static] 背景音乐(不包括音效)是否静...

来源: Laya2.0_api 发布时间: 20190513

15. laya.media.SoundManager [ 83%]

...Public Properties PropertyDefined By  autoReleaseSound : Boolean = true[static] 音效播放后自动删除。 SoundManager  autoStopMusic : Boolean[static] 失去焦点后是否自动停止背景音乐。 SoundManager  musicMuted : Boolean[static] 背景音乐(不包括音效)是否静...

来源: laya_api 发布时间: 20170929

16. laya 1.0 源码中 RunDriver.as里measureText的问题 [ 83%]

...yaAir引擎 laya 1.0 源码中 RunDriver.as里measureText的问题 private static var hanzi:RegExp = new RegExp("^[\u4E00-\u9FA5]$"); private static var fontMap:Array = ; public static var measureText:Function = function(txt:String, font:String):* { var isChinese:Boolean = hanzi.test(txt); if (isChi...

来源: Laya_社区 发布时间: 20190610

17. Shader概述(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 82%]

...是一个静态函数,通过Shader3D.add直接进行创建 ```typescript static add(name: String, attributeMap: any = null, uniformMap: any = null, enableInstancing: Boolean = false): Shader3D; ``` 创建时传入用户自定义Shader的name即可,此时便创建了一个名为name的Shader3D壳...

来源: Laya2.0_文档 发布时间: 20210714

18. 【分享】Laya As3 Tween类的loop实现和3d简单缓动实现 [ 82%]

...有所帮助。 实现功能 1 增加loop类型: loop , pingpongpublic static const LoopType_None:String = "none"; public static const LoopType_Pingpong:String = "pingpong"; public static const LoopType_Loop:String = "loop"; 2 增加简单3d缓动: Position,Scale,Rotation,Color   demo如下:  ...

来源: Laya_社区 发布时间: 20180905

19. 2个刚体,其中一个设置速度setVelocity使其移动,另一个为static静态(模拟墙壁),结果移动直接穿过去了,没有物理效果阻止移动 [ 82%]

...2个刚体,其中一个设置速度setVelocity使其移动,另一个为static静态(模拟墙壁),结果移动直接穿过去了,没有物理效果阻止移动 2个刚体,其中一个设置速度setVelocity使其移动,另一个为static静态(模拟墙壁),结果移动直接...

来源: Laya_社区 发布时间: 20191114

20. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 82%]

...持与摄相机相同。 **/ export default class ExtCullingMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟子添加 var allLights = []; allLights ...

来源: Laya_社区 发布时间: 20200110