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

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

131. laya.display.EffectAnimation_API3.0 [ 77%]

...ationBase.wrapMode Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBase.WRAP_PINGPONG为pingpong播放(当按指定顺序播放完结尾后,如果继续播发,则会改...

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

132. laya.display.FrameAnimation_API3.0 [ 77%]

...ationBase.wrapMode Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBase.WRAP_PINGPONG为pingpong播放(当按指定顺序播放完结尾后,如果继续播发,则会改...

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

133. Laya下的图片上传示例(完整版) [ 77%]

...d:url(b1.png) no-repeat center;cursor:pointer;"; file.type ="file";//设置类型是file类型。 file.size ="30"; file.accept="image/png/jpg";//设置文件的格式为png; file.style.position ="absolute"; // file.style.zIndex = 999; Laya.Browser.document.body.appendChild(file);//添加到页面...

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

134. [LayaAir3]3d物理onTriggerEnter中的other参数不是PhysicsColliderComponent类型 [ 77%]

...aAir3]3d物理onTriggerEnter中的other参数不是PhysicsColliderComponent类型 版本3.1.1, 物理引擎为bullet, 在取collisionGroup时发现为undefined, 断点发现other类型为laya.bullet.js中的类, 并不是或继承自PhysicsColliderComponent,看了一下onCollisionEnter参数collsi...

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

135. laya.ani.swf.MovieClip_API3.0 [ 77%]

...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...

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

136. laya.device.media.Video_API3.0 [ 76%]

...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:925 添加组件实例。 Parameters component: ...

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

137. 为什么会出现报错 ani not found:ufo1_down [ 76%]

...Role(); // 初始化角色 this.hero.init("hero",0,1,0,30); // 设置射击类型 this.hero.shootType = 1; // 设置主角的位置 this.hero.pos(200,500); // 放置到舞台上 Laya.stage.addChild(this.hero); // 监听舞台的鼠标移动事件 Laya.stage.on(Laya.Event.MOUSE_MOVE,this,onMouseMove)...

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

138. laya.physics.DestructionListener_API3.0 [ 76%]

...nListener Class DestructionListener JS实现Box2D SayGoodbyeParticle 相关类型对象被隐性移除时触发对应的SayGoodBye方法 Hierarchy DestructionListener Index Methods SayGoodbyeFixture SayGoodbyeJoint SayGoodbyeParticle SayGoodbyeParticleGroup Methods SayGoodbyeFixture SayGoodbyeFixtur...

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

139. laya.d3.core.material.BlinnPhongMaterial_API3.0 [ 76%]

...events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个参数 p ,且 p 是一个数组,则需...

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

140. laya.html.dom.HTMLIframeElement_API3.0 [ 76%]

...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:925 添加组件实例。 Parameters component: ...

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