大约有 1,129 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0066 秒)
Native下怎么获取渲染句柄 请问Native2.0下,是否是webgl渲染模式?怎么样去获取渲染句柄呢?用laya.webgl.WebGL.mainContext;这个无法获取 2018-10-29 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20181029
...与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 直接获取子box对象var 值 ,然后改 2018-07-20 0 8 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 W 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文...
来源: Laya_社区 发布时间: 20180720
如何使用rendertexture获取相机渲染的动态图片? 具体的需求是camera获取到的rendertexture属性,然后想赋值给一个图片,可以动态的反应相机渲染到的图片的动态改变。最好能给出教程或者代码实现,因为Laya的资料实在是太少了... 20...
来源: Laya_社区 发布时间: 20180113
为什么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
...w Inherited Public Properties PropertyDefined By albedoColor : Vector4 获取反照率颜色。 UnlitMaterial albedoColorA : Number 获取反照率颜色Z分量。 UnlitMaterial albedoColorB : Number 获取反照率颜色B分量。 UnlitMaterial albedoColorG : Number 获取反照率颜...
来源: Laya2.0_api 发布时间: 20190513
...albedo : Vector4 设置反射率。 StandardMaterial alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial ambientColor : Vector3 设置环境光颜色。 StandardMaterial ambientTexture : BaseTexture 获取环...
来源: laya_api 发布时间: 20170929
...s Show Inherited Public Properties PropertyDefined By albedo : Vector4 获取反射率。 GlitterMaterial alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstCo...
来源: laya_api 发布时间: 20170929
... Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEqu...
来源: laya_api 发布时间: 20170929
... Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEqu...
来源: laya_api 发布时间: 20170603
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