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

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

1551. laya.physics.joint.JointBase_API3.0 [ 38%]

...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean destroyed...

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

1552. laya.d3.core.MeshFilter_API3.0 [ 37%]

...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean destroyed...

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

1553. 碰撞检测 outHitInfo.distance 一直等于 -1 ?(TS代码) [ 37%]

... public roleAni:Laya.Animator; /*角色当前动作*/ public currentAction:string = "stand"; /*角色动画是否完成*/ public aniComplete:Boolean = true; /*角色移动速度*/ public speed:number = 0.04; /*3D摄像机*/ public camera:Laya.Camera; /*摇杆控制器*/ private rocker:RockerView; /*...

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

1554. laya.d3.component.LODGroup_API3.0 [ 37%]

...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean bounds ge...

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

1555. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 37%]

...EI); this.img = new Image(); this.addChild(this.img); } public setImg(src: string): void { this.img.skin = src; } } } new laya.UI_List(); ```

来源: Laya2.0_文档 发布时间: 20210715

1556. [LayaAir3]3.3.0-beta.4已知新bug汇总 [ 37%]

... if (Laya.LayaEnv.version == "3.3.0-beta.4") { Scene.open = function (url: string, closeOther?: boolean, param?: any, complete?: any, progress?: any): Promise<Laya.Scene> { if (typeof (complete) === "function") { progress = complete; complete = null; } if (typeof (param) === "function") comple...

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

1557. LayaAir引擎AS3与Flash原生AS3的开发差异(ActionScript-简介篇(AS3)-LayaAir引擎简介) [ 37%]

...擎中正确的用法示例:** **派发:** ``` 派发对象.event(type:String,data:*=null); ``` **监听:** ``` 派发对象.on(type,caller,listener,args); ``` ## 五、LayaAir与AS3的差异 在Flash AS3的原生API写法中可以直接继承Sprite,但是LayaAir引擎里主文档类入口(...

来源: Laya2.0_文档 发布时间: 20191206

1558. LayaAir引擎AS3与Flash原生AS3的开发差异(ActionScript-简介篇(AS3)-LayaAir引擎简介) [ 37%]

...擎中正确的用法示例:** **派发:** ``` 派发对象.event(type:String,data:*=null); ``` **监听:** ``` 派发对象.on(type,caller,listener,args); ``` ## 五、LayaAir与AS3的差异 在Flash AS3的原生API写法中可以直接继承Sprite,但是LayaAir引擎里主文档类入口(...

来源: Laya2.0_文档 发布时间: 20210714

1559. 自定义shader-地形shader [ 37%]

...Shader: number = Laya.Shader3D.nameKey.add("CustomTerrainShader"); var vs: string = "attribute vec4 a_Position;\nattribute vec2 a_Texcoord0;\nattribute vec2 a_Texcoord1;\n\nuniform mat4 u_MvpMatrix;\nuniform mat4 u_WorldMat;\nuniform vec4 u_lightmapScaleOffset;\n\nattribute vec3 a_Normal;\n\nvarying...

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

1560. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 36%]

...ameLoop(1, this, this.onLoop) } /** * 播放动作对应的动画 * action String 动作名称 */ _proto.playAction = function(action){ //如果是重复的动作 不执行 if(this.action == action)return; this.action = action; this.body.play(0, true, this.action); } _proto.onLoop = function(){ //...

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