大约有 431 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0047 秒)
Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya_社区(52) Laya2.0_示例(8) Laya_示例(7) Laya2.0_文档(6) Laya3.0_文档(5)
...Classes | Index | Frames No Frames BoxColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class BoxColliderInheritanceBoxCollider Collider Component3D EventDispatcher Object BoxCollider 类用于创建盒子碰撞器。 Public Properties Hide Inherited Public Pro...
来源: laya_api 发布时间: 20170929
...sses | Index | Frames No Frames SphereColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class SphereColliderInheritanceSphereCollider Collider Component3D EventDispatcher Object SphereCollider 类用于创建球碰撞器。 Public Properties Hide Inherited Publ...
来源: laya_api 发布时间: 20170929
...rag:boolean) { this.m_CanDrag = canDrag; if(this.m_CanDrag) { this.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } else { this.off(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } } onMouseDown(e: Laya.Event) { // console.log(e.currentTarget, e.target); if(e.target == this) { this.startDrag(...
来源: Laya_社区 发布时间: 20191121
...可!var Loader = laya.net.Loader; var Handler = laya.utils.Handler; var Event = laya.events.Event; // 创建TestPageUI的子类 function TestUI() { TestUI.super(this); //list赋值,先获得一个数据源数组 var arr = ; for (var i = 0; i < 100; i++) { arr.push({label: "item " + i, clip: i...
来源: Laya_社区 发布时间: 20170513
... position rotation rotationEuler scale worldMatrix worldNeedUpdate Methods event getForward getFrontFaceValue getRight getUp getWorldLossyScale globalToLocal hasListener localToGlobal lookAt objLookat off offAll offAllCaller on once rotate rotationTo setWorldLossyScale toDir toLocalNormal translate ...
来源: Laya3.0_api 发布时间: 20231115
...的时候 才监听 move事件的话! onMouseDown 中 Laya.stage.on(Event.MOUSE_MOVE, this, onMouseMove); onMouseUp 中 Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); 也可以写个变量 ,down的时候为true,否则为false 如"cuixueying" 回答的一样! 2017-04-21 ...
来源: Laya_社区 发布时间: 20170421
...Children addCommandBuffer addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAn...
来源: Laya3.0_api 发布时间: 20231115
...rr=[]; var s=new Laya.Sprite(); Laya.stage.addChild(s); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,function(e){ arr.push([e.stageX,e.stageY]); Laya.stage.on(Laya.Event.MOUSE_MOVE,this,bb) }) Laya.stage.on(Laya.Event.MOUSE_UP,this,function(){ Laya.stage.off(Laya.Event.MOUSE_MOVE,this,bb) }) function bb...
来源: Laya_社区 发布时间: 20180510
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231102
...is.downMouseY = 0 Laya.loader.load(['bg/world_bg.jpg']) Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.mouseDown) Laya.stage.on(Laya.Event.MOUSE_UP,this,this.mouseUp) this.moveMap(this.offsetX,this.offsetY) } moveMap(x,y){ let X = -x00 let Y = -y00 this.map0.x = X this.map0.y = Y this.map3.x = X + 18...
来源: Laya_社区 发布时间: 20181220