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

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

111. 分享:LayaAir实现曲线运动 [ 84%]

...540||ball.x<10) { xflag=! xflag; } if (xflag) { ball.x+=v; ball.y=200+d*Math.sin(v*ball.x*Math.PI/180); } else { ball.x-=v; ball.y=200+d*Math.sin(v*ball.x*Math.PI/180); } } } } CurveDemo.rar 2016-04-24 0 0 分享 微博 QZONE 微信 winnershili 赞同来自: 你这个明明是波形啊. 2017-11-0...

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

112. 奇葩遮罩BUG [ 84%]

奇葩遮罩BUG m_mcExpMask.scaleX = m_info.ability.mExp ? Math.min(1,Math.max(0,m_info.ability.mExp / m_info.ability.mMaxExp)) : 0; m_mcExpMask.x = m_info.ability.mExp ? Math.min(0,-(Math.max(0,m_info.ability.mExp / m_info.ability.mMaxExp)*m_mcExpMask.width)) : -m_mcExpMask.width;   经验条动...

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

113. 输入设备-指南针 [ 84%]

...并非正确方位。"); } // 更新角度显示 degreesText.text = 360 - Math.floor(info.alpha) + "°"; compassImg.rotation = info.alpha; // 更新方位指示器 directionIndicator.x = -1 * Math.floor(info.gamma) / 90 * 70 + compassImg.x; directionIndicator.y = -1 * Math.floor(info.beta) / 90 * 70...

来源: Laya_示例 发布时间: 20240930

114. 画出来鼠标轨迹线 [ 83%]

...=point[i-1];         var first=point[i];         var speed=Math.min(400,Math.max(distance(last,first),200));//使线的宽度依托于你滑动的速度、并赋予上下限         line.graphics.drawPath(0,0,[["moveTo",last.x,last.y],["lineTo",first.x,first.y]],{}, {strokeSt...

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

115. 输入设备-指南针 [ 83%]

...并非正确方位。"); } // 更新角度显示 degreesText.text = 360 - Math.floor(info.alpha) + "°"; compassImg.rotation = info.alpha; // 更新方位指示器 directionIndicator.x = -1 * Math.floor(info.gamma) / 90 * 70 + compassImg.x; directionIndicator.y = -1 * Math.floor(info.beta) / 90 * 70...

来源: Laya2.0_示例 发布时间: 20240930

116. laya.d3.math.BoundFrustum [ 83%]

...dex | Frames No Frames BoundFrustumProperties | Methods Packagelaya.d3.mathClasspublic class BoundFrustumInheritanceBoundFrustum Object BoundFrustum 类用于创建锥截体。 Public Properties PropertyDefined By  bottom : Plane[read-only] 获取底平面。 BoundFrustum  far : Plane[read-...

来源: laya_api 发布时间: 20170929

117. laya.d3.math.BoundFrustum [ 83%]

...dex | Frames No Frames BoundFrustumProperties | Methods Packagelaya.d3.mathClasspublic class BoundFrustumInheritanceBoundFrustum Object BoundFrustum 类用于创建锥截体。 Public Properties PropertyDefined By  bottom : Plane[read-only] 获取底平面。 BoundFrustum  far : Plane[read-...

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

118. LayaAir3D基础数学工具(TypeScript-3D基础(TS)-LayaAir3D图形系统基础概念) [ 83%]

...aair2.ldc2.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.math.Vector3) 。 **颜色** ​ 那么在各种颜色属性赋值上,三维向量中的值又分别代表了R、G、B三种颜色,分别为红、绿、蓝。还有些地方使用四维向量作为颜色参数,Vector4...

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

119. LayaAir3D基础数学工具(JavaScript-3D基础(JS)-LayaAir3D图形系统基础概念) [ 83%]

...aair2.ldc2.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.math.Vector3) 。 **颜色** ​ 那么在各种颜色属性赋值上,三维向量中的值又分别代表了R、G、B三种颜色,分别为红、绿、蓝。还有些地方使用四维向量作为颜色参数,Vector4...

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

120. laya.d3.math.Vector2 [ 83%]

...Frames No Frames Vector2Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Vector2InheritanceVector2 ObjectImplements laya.d3.core.IClone Vector2 类用于创建二维向量。 Public Properties PropertyDefined By  x : NumberX轴坐标Vector2  y : NumberY轴坐标Vector2Pu...

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