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

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

271. 2D物理-复合碰撞器 [ 87%]

...emoveChild(this.label); } } new Physics_Physics_Tumbler(); import { Laya } from "Laya"; import { Sprite } from "laya/display/Sprite"; import { Stage } from "laya/display/Stage"; import { Browser } from "laya/utils/Browser"; import { RigidBody } from "laya/physics/RigidBody"; import { WebGL } from "l...

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

272. laya.d3.component.animator.AnimatorStateNumberCondition_API3.0 [ 87%]

...tateConditionNumberCompressType Returns void id get id(): number Inherited from AnimatorStateCondition.id Defined in laya/d3/component/Animator/AnimatorStateCondition.ts:66 唯一ID Returns number name get name(): string set name(value: string): void Inherited from AnimatorStateCondition.name Define...

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

273. laya.d3.webxr.core.WebXRInput_API3.0 [ 87%]

...毁 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...

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

274. laya.d3.component.staticmesh.StaticBatchMeshRenderElement_API3.0 [ 87%]

...derElement Properties _batchElement _batchElement: RenderElement Inherited from RenderElement._batchElement Defined in laya/d3/core/render/RenderElement.ts:49 _renderElementOBJ _renderElementOBJ: IRenderElement Inherited from RenderElement._renderElementOBJ Defined in laya/d3/core/render/RenderEleme...

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

275. laya.resource.Resource_API3.0 [ 86%]

...setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Properties _id _id: number = 0 Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Defined in laya/resource/Resource.ts:112...

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

276. 组件Clip(play方法的bug) [ 86%]

组件Clip(play方法的bug) __proto.play=function(from,to){ (from===void 0)&& (from=0); (to===void 0)&& (to=-1); this._isPlaying=true; this.index=from; this._toIndex=to; this._index++;//源码这里没必要吧 2018-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

277. laya.physics.Physics_API3.0 [ 86%]

...s Physics Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3...

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

278. laya.d3.component.animator.AnimatorState_API3.0 [ 86%]

...。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...

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

279. laya.utils.Tween_API3.0 [ 86%]

...n Index Properties repeat update Accessors progress Methods clear complete from pause recover restart resume setStartTime to clear clearAll from to Properties repeat repeat: number = 1 Defined in laya/utils/Tween.ts:38 重播次数,如果repeat=0,则表示无限循环播放 update update: Handle...

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

280. 缓动-简单的Tween [ 86%]

...动 Tween.to(characterA, { x: terminalX }, 1000); // characterB使用Tween.from缓动 characterB.x = terminalX; Tween.from(characterB, { x: 0 }, 1000); } function createCharacter(skin) { var character = new Sprite(); character.loadImage(skin); Laya.stage.addChild(character); return character; } })()...

来源: Laya_示例 发布时间: 20241118