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

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

321. 关于环形进度条,进度不能重置问题 [ 68%]

....circle; function IndexView(){ IndexView.super(this); this.angle = 0; Laya.timer.loop(200,this,this.loadProgress) var Sprite = Laya.Sprite; this.box = new Sprite(); this.box.cacheAs = "bitmap"; this.box.pos(0,0); this.say.addChild(this.box); this.draw = new Sprite(); this.box.addChild(this.draw); th...

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

322. laya.ui.View [ 67%]

...赋值一个图片地址,则会自动加载图片,然后显示 Sprite timer : Timer[override] 场景时钟Scene  top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 View transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现...

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

323. 材质-BlinnPhong材质加载 [ 67%]

...ransform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); Laya.timer.frameLoop(1, this, function () { layaMonkey.transform.rotate(this.rotation, false); });class BlinnPhongMaterialLoad { private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); constructor() { Laya3D.init(0, 0, true)...

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

324. laya.ui.VSlider [ 67%]

...的刻度值,滑动数值为tick的整数倍。默认值为1。 Slider timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...

来源: laya_api 发布时间: 20170929

325. laya.ui.View [ 67%]

...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...

来源: laya_api 发布时间: 20170929

326. laya.ui.UIGroup [ 67%]

...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...

来源: laya_api 发布时间: 20170929

327. LAYA IDE 设置语言包路径后卡死 [ 67%]

...:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:59934:9)     at TimerHandler.Timer.__init$.__proto.run (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:9221:46)     at Timer.__proto._update (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:8978:14)   ...

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

328. 高级应用-闪光 [ 67%]

... new Laya.Vector3(0, 0, 0.5); var scaleDelta = 0; var scaleValue = 0; Laya.timer.frameLoop(1, this, loop); function loop() { scaleValue = Math.sin(scaleDelta += 0.01); pos1.elements[0] = pos2.elements[0] = scaleValue * 13; pos1.elements[1] = Math.sin(scaleValue * 20) * 2; pos2.elements[1] = Math.sin...

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

329. laya.ani.swf.MovieClip [ 67%]

...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite  url : Str...

来源: laya_api 发布时间: 20170929

330. laya.ui.HSlider [ 67%]

...的刻度值,滑动数值为tick的整数倍。默认值为1。 Slider timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...

来源: laya_api 发布时间: 20170929