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

大约有 2,831 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0062 秒)

2521. 当使用Image作为一个对象的遮罩时,设置Image的ScaleX为0时遮罩失效! [ 48%]

...ctor() { Laya.init(1280,720); Laya.loader.load([{url:"res/atlas/comp.json",type:Laya.Loader.ATLAS}],Laya.Handler.create(this,this.loaded,null)); } private loaded():void{ var img:Laya.Image = new Laya.Image(); img.skin = "comp/img_pro.png"; Laya.stage.addChild(img); var imgMask:Laya.Image = new Laya....

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

2522. 关于自定义Shader中使用 u_AmbientColor 这个Uniform变量的问题 [ 48%]

... 报错 ImageData is not defined? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 问题状态 最新活动: 2023-07-27 16:04 浏览: 1998 关注: 2 人 ...

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

2523. httpRequest send返回Request failed Status:0 [ 48%]

....errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // private completeHandler(data: Object, URL: string, id: number): void { //加载完成返回的data是arraybuffer; //......这里处理我们加密的图片数据,假设...

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

2524. 如何把加载好的二进制数据转成Texture? [ 48%]

...加载TFF字体要怎么加载呢? laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 本地调试加载本地图片都报错 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其...

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

2525. 原生js如何调用laya里的方法? [ 48%]

原生js如何调用laya里的方法? 我打算用原生input type="file"上传(头像)图片,然后传入laya之中, 另外,laya什么时候自身支持file方法啊? 2017-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

2526. Label属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 48%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Label)。 ​ Label 组件的资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ Label组件拖放到编辑区后,设置 text 属性的值为 LayaAir IDE 后的显示效果如...

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

2527. 2.3.0发布微信小游戏,自动缓存:查找不到资源问题的Bug [ 48%]

...下: 应该是里改错:   修改如下: static _transformImgUrl(url, type, thisLoader) {    if (MiniAdpter.isZiYu) {    thisLoader._loadImage(url, false);    return;    }    if (MiniFileMgr.isLocalNativeFile(url)) {    thisLoader._loadImage(url, false);    return;    }    if ...

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

2528. laya.physics.joint.WheelJoint_API3.0 [ 48%]

...PreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Class Class with type parameter Property Accessor Inherited constructor Inherited property Inherited method Inherited accessor Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

2529. 游戏引导 原来使用 blendMode = "destination-out"; 现在怎么用? [ 48%]

...游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 LayaAirIDE下如何使用mask? 问题状态 最新活动: 2018-07-15 15:24 浏览: 3150 关注: 3 人 183*****29...

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

2530. 添加组件code里面自定义脚本不显示 [ 48%]

...要用注释规则。 Nothing • 2021-10-18 18:10 /** @prop {name:nodes2,type:Nodes}*/ 大什么你能告诉我下,这个怎么用嘛,我怎么用都不行,ide里面的长度也没办法变更 柠檬_酸 • 2021-10-18 18:39 我玩的laya跟你们不一样吗,我咋能显示 layabox • 202...

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