大约有 1,054 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
Laya_社区(615) Laya_示例(157) Laya2.0_文档(149) Laya2.0_示例(116) laya_api(7) Laya3.0_文档(5) Laya3.0_api(3) Laya2.0_api(2)
..._scene.lightCullingMask && this._scene.lightCullingMask instanceof Function){this._scene.lightCullingMask(scene,this);} 3、对想要开启灯光裁剪的场景调用 LightCullingMask.enableLightCullingMask(scene3d)即可 //注意 ExtCullingMask并不是针对对象进行,而是对摄相...
来源: Laya_社区 发布时间: 20200110
..., laya.utils.Handler.create(this, onLoading, null, false)); //加载进度 function onLoading(progress){ console.log("onLoading: " + progress); } //加载完毕 function onLoaded(){ console.log("onLoaded"); } 我们刷新页面看看有什么效果 如下图所示 我们看到 图片加载了 而且...
来源: Laya_社区 发布时间: 20160722
... GRIPMgr = Laya.PlatformClass.createClass("AppUtil"); GRIPMgr.callWithBack(function(n):void{alert(n)},"getDeviceIDInKeychain"); [size=14]IOS代码:[/size] +(void)getDeviceIDInKeychain { [[conchRuntime GetIOSConchRuntime] callbackToJSWithClass:self.class methodName:@"getDeviceIDInKeychain:" re...
来源: Laya_社区 发布时间: 20181206
... []; private var wrapBounds:Rectangle; private var maggotTexture:*; public function PerformanceTest_Maggots() { Laya.init(Browser.width,Browser.height, WebGL); Laya.stage.bgColor = "#000000"; Stat.show(); wrapBounds = new Rectangle(-padding, -padding, Laya.stage.width + padding * 2, Laya.stage.heigh...
来源: Laya2.0_示例 发布时间: 20260819
...a.debug.DebugPanel; import laya.display.Sprite; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //调用DebugPanel调试面板 Laya.enableDebugPanel(); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; var Img:Sprite = new Sprite(); //添加到舞台 Laya.st...
来源: Laya2.0_文档 发布时间: 20210714
...持的标签</SCRIPT> 导微信小程序报错window.focus is not a function Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 问题状态 最新活动: 2017-10-10 11:04 浏览: 3912 关注: 4 人 沧海一粟 • 2017-09-18 16:35 错误解决了,但是出现了好...
来源: Laya_社区 发布时间: 20160419
...r; private var bodys: Array = []; private var touching: Array = []; public function Physics_CollisionEvent() { Laya.Config.isAntialias = true; Laya.init(1200, 700, WebGL); Stat.show(); Physics.enable(); PhysicsDebugDraw.enable(); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIG...
来源: Laya2.0_示例 发布时间: 20260819
... Laya.stage.addChild(scene3D); 异常: TypeError: node._setParent is not a function preload.js:55 at Stage.__proto.addChild (file:///E:/H5Project/TestH5Project/TestFeiChe3D/bin/libs/laya.core.js:13235:9) 2018-10-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20181031
...方法是每次都重新创建 源码: input.as private function _setInputMethod():void { input.parentElement && (inputContainer.removeChild(input)); area.parentElement && (inputContainer.removeChild(area)); ...
来源: Laya_社区 发布时间: 20190816
...无法读取。。。 如附件里,只要注掉 Laya.URL.customFormat = function (url) { return url + "?ver=123"; } 就能显示图片了。 附件 : --> layaTestNew4.zip 2019-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20190814