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

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

121. Shader中如何计算每个projCoord对应的screenCoord,归一化为[0,1] [ 58%]

... 要回复问题请先登录 发起人 1559205968用户 相关问题 如何获取图片每个像素点的RGB? Laya2.0 的2d如何编写自定义shader 请问每个工程的libs文件夹都报这个错怎么解决 斜矩形怎么计算碰撞 如何查看每个Sprite各自引发了多少次DrawCall ...

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

122. laya.ui.Dialog [ 58%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...

来源: laya_api 发布时间: 20170929

123. 简单的震屏效果 [ 57%]

...ibrateObj, function () {         loop++;         //随机获取震动方向           dir = Math.random() > .5 ? 1 : -1;         //随机获取X轴移动量           offX = Math.random() * 5 * dir + vibrateObj.x;         //随机...

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

124. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 57%]

...s.maxRight = 0; //如果不开启autoSize 父容器的宽度和高度无法获取 this.autoSize = true; //初始化的时候将坐标放到屏幕右边 this.x = 852; //y坐标取一个随机值 为什么是32 因为我们的整个素材是 32 * 20 拼起来的 this.y = 32 * 6 + 32 * parseInt(8 * Mat...

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

125. laya.display.Stage [ 57%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMod...

来源: laya_api 发布时间: 20170929

126. 2.3微信截图分享问题 [ 56%]

... 3 个回复 陆仁毅 赞同来自: 有开放域的话小游戏屏蔽了获取像素的接口 2019-12-25 0 1 分享 微博 QZONE 微信 159*****136 赞同来自: 你是APP还是网页, 2019-12-23 0 1 分享 微博 QZONE 微信 176*****233 赞同来自: 发现一个问题。微信存在开放域...

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

127. laya.display.Input [ 56%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中...

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

128. laya.ui.FontClip [ 55%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node  align : String水平对齐方式FontClip alpha : Number透明度,值为0-1,默认值为1,表示不透...

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

129. laya.ui.Dialog [ 55%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

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

130. laya.physics.PhysicsDebugDraw [ 54%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

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