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

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

1. Native下怎么获取渲染句柄 [ 100%]

Native下怎么获取渲染句柄 请问Native2.0下,是否是webgl渲染模式?怎么样去获取渲染句柄呢?用laya.webgl.WebGL.mainContext;这个无法获取 2018-10-29 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

2. list组件里面使用box作为渲染项,在渲染项里面再嵌套一个box,这里面的数据该怎么渲染[ 98%]

...与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 直接获取子box对象var 值 ,然后改 2018-07-20 0 8 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 W 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文...

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

3. 如何使用rendertexture获取相机渲染的动态图片? [ 97%]

如何使用rendertexture获取相机渲染的动态图片? 具体的需求是camera获取到的rendertexture属性,然后想赋值给一个图片,可以动态的反应相机渲染到的图片的动态改变。最好能给出教程或者代码实现,因为Laya的资料实在是太少了... 20...

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

4. 为什么laya的Button渲染逻辑顺序是先渲染,再获取素材切片? [ 96%]

为什么laya的Button渲染逻辑顺序是先渲染,再获取素材切片? /** *@private *改变对象的状态。 */ __proto.changeState=function(){ this._stateChanged=false; this.runCallLater(this.changeClips); var index=this._state < this._stateNum ? this._state :this._stateNum-1; this._...

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

5. laya.d3.core.material.UnlitMaterial [ 95%]

...w Inherited Public Properties PropertyDefined By  albedoColor : Vector4 获取反照率颜色。 UnlitMaterial  albedoColorA : Number 获取反照率颜色Z分量。 UnlitMaterial  albedoColorB : Number 获取反照率颜色B分量。 UnlitMaterial  albedoColorG : Number 获取反照率颜...

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

6. laya.d3.core.material.StandardMaterial [ 95%]

...albedo : Vector4 设置反射率。 StandardMaterial alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial  ambientColor : Vector3 设置环境光颜色。 StandardMaterial  ambientTexture : BaseTexture 获取环...

来源: laya_api 发布时间: 20170929

7. laya.d3.core.material.GlitterMaterial [ 95%]

...s Show Inherited Public Properties PropertyDefined By  albedo : Vector4 获取反射率。 GlitterMaterial alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstCo...

来源: laya_api 发布时间: 20170929

8. laya.d3.core.particleShuriKen.ShurikenParticleMaterial [ 95%]

... Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEqu...

来源: laya_api 发布时间: 20170929

9. laya.d3.core.material.ParticleMaterial [ 95%]

... Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEqu...

来源: laya_api 发布时间: 20170603

10. Laya2.0,使用WebGL渲染获取canvas使用微信方式保存图片,显示黑色? [ 94%]

Laya2.0,使用WebGL渲染获取canvas使用微信方式保存图片,显示黑色? Laya.Render.canvas.toTempFilePath({ x: 10, y: 10, width: 200, height: 150, destWidth: 400, destHeight: 300, success: (res) => { console.log(res) wx.saveImageToPhotosAlbum({ filePath: res.tempFilePath, succes...

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