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

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

191. 鼠标交互-键盘交互 [ 74%]

...mer.frameLoop(1, this, this.keyboardInspector); } listenKeyboard() { const Event = Laya.Event; // 用Set实现更好一些 keyDownList = []; // 添加键盘按下事件,一直按着某按键则会不断触发 Laya.stage.on(Event.KEY_DOWN, this, this.onKeyDown); // 添加键盘抬起事件 Laya.stage...

来源: Laya2.0_示例 发布时间: 20251209

192. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 74%]

...; a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指...

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

193. laya.ani.bone.Templet [ 74%]

...All Classes | Index | Frames No Frames TempletProperties | Methods | Events Packagelaya.ani.boneClasspublic class TempletInheritanceTemplet laya.ani.AnimationTemplet 动画模板类 Public Properties PropertyDefined By  aniSectionDic : ObjectTemplet  bindBoneBoneSlotDic : Object 绑定...

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

194. laya.d3.core.render.BaseRender [ 74%]

...ackagelaya.d3.core.renderClasspublic class BaseRenderInheritanceBaseRender EventDispatcher ObjectImplements laya.resource.IDestroySubclasses GlitterRender, MeshRender, ShurikenParticleRender, TerrainRender, WaterRender Render 类用于渲染器的父类,抽象类不允许实例。 Public Propertie...

来源: laya_api 发布时间: 20170929

195. laya.ui.ProgressBar [ 74%]

...Classes | Index | Frames No Frames ProgressBarProperties | Methods | Events Packagelaya.uiClasspublic class ProgressBarInheritanceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show...

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

196. laya.d3.component.physics.BoxCollider [ 73%]

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

197. laya.media.SoundChannel_API3.0 [ 73%]

...放时间、总循环次数、播放地址等信息的方法。 Hierarchy EventDispatcher SoundChannel Index Properties completeHandler isStopped loops startTime url Accessors duration position volume Methods event hasListener off offAll offAllCaller on once pause play resume stop Properties complet...

来源: Laya3.0_api 发布时间: 20231115

198. laya.d3.core.particle.Particle3D [ 73%]

... Classes | Index | Frames No Frames Particle3DProperties | Methods | Events | Constants Packagelaya.d3.core.particleClasspublic class Particle3DInheritanceParticle3D RenderableSprite3D Sprite3D Node EventDispatcher Object Particle3D 3D粒子。 Public Properties Hide Inherited Public Propert...

来源: laya_api 发布时间: 20170603

199. laya.d3.resource.models.Mesh_API3.0 [ 73%]

...PUMemory _setCreateURL _setGPUMemory calculateBounds clone cloneTo destroy event getBoneIndices getBoneWeights getColors getIndices getNormals getPositions getSubMesh getTangents getUVs getVertexDeclaration getVertices hasListener isCreateFromURL markAsUnreadbale off offAll offAllCaller on once setB...

来源: Laya3.0_api 发布时间: 20231115

200. 引擎socket类_onMessage bug [ 72%]

...       if (this.disableInput && data) {             this.event(Event.MESSAGE, data);             return;         }         if (this._input.length > 0 && this._input.bytesAvailable < 1) {             this._input.clear();             this._addIn...

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