大约有 568 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0075 秒)
Laya_社区(298) Laya3.0_api(62) Laya2.0_api(58) laya_api(54) Laya2.0_示例(31) Laya_示例(30) Laya2.0_文档(22) Laya3.0_文档(13)
...Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box UIComponent Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Publ...
来源: Laya2.0_api 发布时间: 20190513
直接new sprite 跟graphics.drawTexture 有什么区别 var downScoreTexture = Laya.loader.getRes("img/game/kc/score.png"); var _downScore = new Sprite(); _downScore.pos(150,130); _downScore.graphics.drawTexture(downScoreTexture); touPane.addChild(_downScore); 这个东西,跟 直接new sprite ...
来源: Laya_社区 发布时间: 20170811
...录宽度 this.width_x = this.progress.width + 3; this.vmask = new Laya.Sprite(); this.vmask.pos(15,15); this.vmask.graphics.drawPie(0, 0, 20, -90, 270, "#000000"); this.progress.addChild(this.progressvalue); this.progressvalue.mask = this.vmask; this.changevalue = function(value) { this.targe...
来源: Laya_社区 发布时间: 20180725
...on = new Laya.Vector3(0, -1.0, -1.0); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); var layaPlane = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/staticModel/LayaPlane/LayaPlane.lh")); Laya.loader.create([ "../../res/threeDi...
来源: Laya_示例 发布时间: 20240930
...s | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不...
来源: laya_api 发布时间: 20170929
... Events Packagelaya.uiClasspublic class LabelInheritanceLabel UIComponent Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties Property...
来源: Laya2.0_api 发布时间: 20190513
...Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户...
来源: laya_api 发布时间: 20170929
...Packagelaya.uiClasspublic class ScrollBarInheritanceScrollBar UIComponent Sprite Node EventDispatcher ObjectSubclasses HScrollBar, VScrollBar ScrollBar 组件是一个滚动条组件。 当数据太多以至于显示区域无法容纳时,最终用户可以使用 ScrollBar 组件控制所显示的...
来源: Laya2.0_api 发布时间: 20190513
获取Sprite位置问题 class Plant extends Laya.Sprite { public body :Laya.Animation; constructor(){ super(); this.body = new Laya.Animation(); Laya.Animation.createFrames(["res/war/hero_fly1.png","res/war/hero_fly2.png"],"fly"); this.addChild(this.body); this.body.play(0,true,"fly"); //获取动...
来源: Laya_社区 发布时间: 20180427
...18 0 0 分享 微博 QZONE 微信 shaouXie 赞同来自: var bg = new Laya.Sprite(); bg.loadImage("res/bg-480x720.jpg"); Laya.stage.on(Laya.Event.RESIZE,this,onResize); function onResize() { var scale,scaleX,scaleY; scaleX = Browser.clientWidth/480; scaleY = Browser.clientHeight...
来源: Laya_社区 发布时间: 20161118