大约有 2,538 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0097 秒)
Laya_社区(1915) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...赞同来自: lllzzz6311 package { import laya.display.Sprite; import laya.events.Event; import laya.webgl.WebGL; public class PanelElastic { public function PanelElastic() { Laya.init(800,600,WebGL); Laya.stage.bgColor="#EEFFCC"; var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,300,300,"#FFFF00...
来源: Laya_社区 发布时间: 20170918
...03:8888"); // this.socket.connect("10.10.1.103",8888); this.socket.on(Laya.Event.OPEN, this, openHandler); //建立连接 this.socket.on(Laya.Event.MESSAGE, this, receiveHandler); //接收到数据触发函数 this.socket.on(Laya.Event.CLOSE, this, closeHandler); //关闭事件 this.socket.on(Laya.E...
来源: Laya_社区 发布时间: 20181107
...ll Classes | Index | Frames No Frames SkeletonProperties | Methods | Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Proper...
来源: laya_api 发布时间: 20170929
...ference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getAniDuration getAnimation getAnimationCount getAnimationDataWithCache getNodeCount getNodeIndexWithName getNodeKeyFrame getNodes getNodesCurrentFrameIndex getOriginalData getOriginalDataUnfixedRate getPublicExtData ge...
来源: Laya3.0_api 发布时间: 20231115
...All Classes | Index | Frames No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectSubclasses AnimationBase, PerfHUD, Scene, Stage, Text Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有...
来源: Laya2.0_api 发布时间: 20190513
...nction startShake() { Shake.instance.start(5, 500); Shake.instance.on(Laya.Event.CHANGE, this, onShake); console.text = '开始接收设备摇动\n'; } function onShake() { shakeCount++; console.text += "设备摇晃了" + shakeCount + "次\n"; if (shakeCount >= 3) { Shake.instance.stop(); console.t...
来源: Laya_示例 发布时间: 20251130
...All Classes | Index | Frames No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectImplements laya.display.ILayoutSubclasses AnimationPlayerBase, Component, DialogManager, GridSprite, MapLayer, MovieClip, Particle...
来源: laya_api 发布时间: 20170929
...t + ":" + port; let socket:Laya.Socket = new Laya.Socket(); socket.on(Laya.Event.OPEN,this,()=>{ console.log("connect success!"); }) socket.connectByUrl(url);点此查看Socket官方示例 2018-05-15 1 0 分享 微博 QZONE 微信 rabbit 赞同来自: 只要前端的,还是要前端和后端代...
来源: Laya_社区 发布时间: 20180514
...ddDrawCounter addNewParticlesToVertexBuffer addParticleArray blend destroy event getConchMesh getFirstActiveElement getFirstFreeElement getFirstNewElement getFirstRetiredElement getMesh getRenderType hasListener isCreateFromURL off offAll offAllCaller on once releaseRender renderSubmit setFirstFreeE...
来源: Laya3.0_api 发布时间: 20231115
... = 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 = ["noscale", "exactfit", "showall", "noborder", "full", "fixedwidth", "fixedheig...
来源: Laya2.0_示例 发布时间: 20251130