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

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

231. laya.ui.Clip [ 69%]

...| Events Packagelaya.uiClasspublic class ClipInheritanceClip UIComponent Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、竖...

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

232. laya.d3.core.scene.Scene3D [ 69%]

...ants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By act...

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

233. 直接new sprite 跟graphics.drawTexture 有什么区别 [ 69%]

直接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

234. laya.ui.UIGroup [ 69%]

...Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box UIComponent Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Publ...

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

235. 高级应用-渲染纹理 [ 69%]

...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

236. 求绘制遮罩会引起黑屏的解决办法 [ 69%]

...录宽度 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

237. laya.display.Stage [ 69%]

...s | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不...

来源: laya_api 发布时间: 20170929

238. 获取Sprite位置问题 [ 69%]

获取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

239. laya.ui.Label [ 69%]

... 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

240. laya.ui.ScrollBar [ 69%]

...Packagelaya.uiClasspublic class ScrollBarInheritanceScrollBar UIComponent Sprite Node EventDispatcher ObjectSubclasses HScrollBar, VScrollBar ScrollBar 组件是一个滚动条组件。 当数据太多以至于显示区域无法容纳时,最终用户可以使用 ScrollBar 组件控制所显示的...

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