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

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

1681. HScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 44%]

...rollBar.skin = "../../../../res/ui/hscroll.png"; //设置宽度 hScrollBar.width = 400; //设置位置 hScrollBar.pos(150, 170); //最低滚动位置数字 hScrollBar.min = 0; //最高滚动位置数字 hScrollBar.max = 100; //滚动变化事件回调 hScrollBar.changeHandler = new Handler(this, onC...

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

1682. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 43%]

...eo.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.videoWidth,videoTexture.video.videoHeight); var texture:Laya.Texture = new Laya.Texture(texture2D); var image:Laya.Image = new Laya.Image(); image.texture = texture; image.width = videoTexture.video.videoWidth; image.height = vide...

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

1683. 绘制三角形、多边形及根据数据绘制图案(TypeScript-LayaAir基础篇(TS)-矢量图) [ 43%]

...J点坐标               canvas.graphics.drawPoly(Laya.stage.width / 2, Laya.stage.height / 2, path, "#FF7F50");       }     } } new laya.Sprite_DrawShapes(); ``` 代码运行效果如下图所示: ​ ![blob.png](img/4.png) ​ (图4) ​ 通过上面的示例...

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

1684. HScrollBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 43%]

...his.hScrollBar.skin = "res/ui/hscroll.png"; //设置宽度 this.hScrollBar.width = 400; //设置位置 this.hScrollBar.pos(150, 170); //最低滚动位置数字 this.hScrollBar.min = 0; //最高滚动位置数字 this.hScrollBar.max = 100; //滚动变化事件回调 this.hScrollBar.changeHandler = n...

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

1685. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 43%]

...Filter meshRenderer minX minZ numChildren parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChil...

来源: Laya3.0_api 发布时间: 20231102

1686. Cannot read property 'toDefault' of undefined报错是什么原因 [ 43%]

...HADING; Laya.stage.addChild(new MousePickingScene()); // Laya.init(Browser.width, Browser.height); // Laya.stage.scaleMode = Stage.SCALE_NOSCALE; infoText = "距离:null"; mySwitch = true; target = new BMap.Point(113.392307, 23.062487); createDom(); initMap(); createButton(); var successHandler = ...

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

1687. 使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 [ 43%]

...e; var mCurrSkinIndex = 0; (function() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "res/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplet...

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

1688. VScrollBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 43%]

...his.vScrollBar.skin = "res/ui/vscroll.png"; //设置宽度 this.vScrollBar.width = 400; //设置位置 this.vScrollBar.pos(150, 170); //最低滚动位置数字 this.vScrollBar.min = 0; //最高滚动位置数字 this.vScrollBar.max = 100; //滚动变化事件回调 this.vScrollBar.changeHandler = n...

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

1689. 绘制三角形、多边形及根据数据绘制图案(ActionScript-LayaAir基础篇(AS3)-矢量图) [ 43%]

...                    canvas.graphics.drawPoly(Laya.stage.width / 2, Laya.stage.height / 2, path, "#FF7F50");             }     } } ``` 代码运行效果如下图所示: ​ ![blob.png](img/4.png) ​ (图4) ​ 通过上面的示例代码的写法,...

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

1690. 分享:LayaAir下Loading进度条的制作(ActionScript 3.0[ 43%]

...ProgressBar("loads/progressBar.png"); progressBar.pos(50,300); progressBar.width=300; progressBar.sizeGrid="5,5,5,5"; //当progressBar的value值改变时触发 progressBar.changeHandler=new Handler(this,onChange); Laya.stage.addChild(progressBar); } private function onChange(value:Number):void { tr...

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