大约有 585 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0070 秒)
Laya_社区(299) Laya3.0_api(65) Laya2.0_api(58) laya_api(54) Laya2.0_示例(32) Laya_示例(31) Laya2.0_文档(26) Laya3.0_文档(20)
...交 2 个回复 whzooo - 王掌柜 赞同来自: pivot(x:Number, y:Number):Sprite 设置轴心点。 2016-12-14 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 可以提交个重现问题的例子,我们看下! 2016-12-14 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20161214
...displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当...
来源: laya_api 发布时间: 20170929
...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
...| Events Packagelaya.uiClasspublic class ClipInheritanceClip UIComponent Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、竖...
来源: Laya2.0_api 发布时间: 20190513
...age.width, Laya.stage.height); } } new SmartScale_T();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Image = Laya.Image; import WebGL = Laya.WebGL; export class SmartScale_T { //所有适配模式 private modes: Array ...
来源: Laya2.0_示例 发布时间: 20250219
...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_示例 发布时间: 20250219
...s | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不...
来源: laya_api 发布时间: 20170929