大约有 2,110 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
...在Laya1.0中生效,在Laya2.0中不生效 laya中代码:export default class Test { public static onClick():void{ alert("123456"); } public static onClick1():void{ } } 原生中代码:ConchJNI.RunJS("Test.onClick()"); 原生中报错:Refere...
来源: Laya_社区 发布时间: 20190313
...true, shaderType:2, uniformMap:{ u_gradientDirection: {type: Vector2, default:[1,1]}, // 渐变方向 u_gradientStartColor: {type:Vector4, default:[1,1,1,1]}, // 渐变起始颜色 u_gradientEndColor: {type:Vector4, default:[1,1,1,1]} // 渐变结束颜色 }, attributeMap: { a_position: Vector4, a_c...
来源: Laya3.0_文档 发布时间: 20251120
... Implements IClone Index Constructors constructor Properties elements DEFAULT DEFAULTINVERT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getForward getInvertFront getTranslationVector identity invert isIdentity norma...
来源: Laya3.0_api 发布时间: 20231115
...s:323:11) at exports.spawn (child_process.js:502:9) at Object.<anonymous> (/usr/local/lib/node_modules/layaair-cmd/layaair-cmd-resourceVersion.js:60:10) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (modul...
来源: Laya_社区 发布时间: 20180523
...js:535) at new Particle2D (libs/laya.particle.js:522) at Main.<anonymous> (js/bundle.js:52) at EventHandler.runWith (libs/laya.core.js:848) aya.core.js中this._vshader与this._pshader参数为null 附件 : --> 3d.zip 2019-08-08 添加评论 免费帖 --> 分享 微博 QZON...
来源: Laya_社区 发布时间: 20190808
...3/core/BaseCamera.ts:307 创建一个 BaseCamera 实例。 Parameters Default value nearPlane: number = 0.3 近裁面。 Default value farPlane: number = 1000 远裁面。 Returns BaseCamera Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _...
来源: Laya3.0_api 发布时间: 20231115
... for (var i=0,len=toloadPics.length;i < len;i++){ toloadPics[i]=folderPath+toloadPics[i]; } }else { ...
来源: Laya_社区 发布时间: 20190202
...上就连接不上socket 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 真机环境找不到window---cant find variable: window stack 关于apk打包动画卡的问题 1.8.4版本打包vivo小游戏,只有个temprelease 项目分包后, 运行出错 打包出来后的APP打开...
来源: Laya_社区 发布时间: 20180108
... this.aaa); private bb:number = 6; private playerHB:logic.UI.role.PlayerHealthBar; private loadHp():void { this.playerHB = new logic.UI.role.PlayerHealthBar(); this.playerHB.pivotX = this.playerHB.width / 2; this.playerHB.pivotY = this.playerHB.height / 2; this.playerHB.y = 500; this.playerHB.txtNam...
来源: Laya_社区 发布时间: 20180102
... // } // if(distance - this.lastDistance < 0){ // Laya.stage.x += (((touches[0].x+touches[1].x)/2) + (distance)* (1/Laya.stage.scaleX)) * (1/Laya.stage.scaleX) ; // Laya.stage.y += (((touches[0].y+tou...
来源: Laya_社区 发布时间: 20201126