大约有 573 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0104 秒)
Laya_社区(351) Laya2.0_文档(64) Laya3.0_api(54) Laya_示例(32) Laya2.0_api(22) laya_api(20) Laya3.0_文档(17) Laya2.0_示例(13)
...oContext was not allowed to start. 骨骼动画播放完后的回调时间 Texture图片能否进行翻转? [Laya2.0 3D] 2.0正式版上存在某些骨骼动画无法播放,U3D和1.7.*都没问题 求教: soundManager如何停止正在播放的背景音乐 请问一下怎样动态加载prefab ...
来源: Laya_社区 发布时间: 20190325
...ndow.conch.convertBitmapToPng(data, 640, 1136); var cc = new laya.resource.Texture(data); ss.source = cc; // Laya.stage.addChild(sp);//添加到舞台 } function errorHandler(url) { gbx.log("2222222222222222") } } ss 是一个image, data 已经下载到了 在native下,怎么画出来 2018-02-0...
来源: Laya_社区 发布时间: 20180201
...RANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE defaultMaterial renderQuality Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoTexture alphaTest alphaTestValue anisotropy blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAl...
来源: Laya3.0_api 发布时间: 20231102
...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...er的方式能不能加载ani文件? 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 LayaAir 2D有没...
来源: Laya_社区 发布时间: 20170926
...; var height = stage.height; var bg = new Sprite(); stage.addChild(bg); bg.texture = e; bg.on("click", this, onClick); var guideContainer = new Sprite(); stage.addChild(guideContainer); guideContainer.mouseEnabled = true; guideContainer.cacheAs = "bitmap"; var hitArea = new HitArea(); hitArea.hit.dr...
来源: Laya_社区 发布时间: 20171031
...new Laya.StandardMaterial(); //材质加载漫反射贴图 material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); //为模型赋材质(单个材质可赋给多个模型) sphere.meshRender.material = material; box.meshRender.material = material; } } new LayaAir3D(); 2018-03-02 1 1 分...
来源: Laya_社区 发布时间: 20180302
...leY scene scrollRect seekable seeking skewX skewY source stage staticCache texture timer transform url videoHeight videoTexture videoWidth viewport visible volume width x y zOrder Methods _initialize _processActive _setX _setY addChild addChildAt addChildren addComponent addComponentInstance bubbleE...
来源: Laya3.0_api 发布时间: 20231115
...iew","props":{},"compId":2,"child":[{"type":"Sprite","props":{"y":0,"x":0,"texture":"ani/p1.png"},"compId":3}],"animations":[{"nodes":[{"target":3,"keyframes":{"scaleY":[{"value":1,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":0},{"value":0.5,"tweenMethod":"linearNone","t...
来源: Laya_社区 发布时间: 20210111
...tation scaleX scaleY scene scrollRect skewX skewY source stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains custo...
来源: Laya3.0_api 发布时间: 20231115