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

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

141. laya.d3.core.material.Material_API3.0 [ 64%]

...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 发布时间: 20231115

142. TypeError: relativePath is undefined [ 64%]

...15952728807 • 2017-12-05 15:44 (function() { var Stage = Laya.Stage; var Event = Laya.Event; var TiledMap = Laya.TiledMap; var Rectangle = Laya.Rectangle; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var tiledMap; var mLastMouseX = 0; var mL...

来源: Laya_社区 发布时间: 20171205

143. laya.d3.component.physics.BoxCollider [ 64%]

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

144. laya.d3.component.physics.SphereCollider [ 64%]

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

145. Laya的Dialog上如果有按钮 我希望点击到按钮或者其他可以相应的控件 不会触发拖动效果 [ 63%]

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

146. 分享:为List组件下Item(Box)下的Button(或其他组件)进行监听! [ 63%]

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

147. 请问有没有方法能够获取“鼠标是否处于按下状态”? [ 63%]

...的时候  才监听 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

148. laya.d3.renderobjs.nativeobj.NativeTransform3D_API3.0 [ 63%]

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

149. laya.d3.core.Camera_API3.0 [ 63%]

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

150. layaAir真的没办法做涂鸦板? [ 63%]

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