大约有 390 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0053 秒)
...tX ONE UnitX UnitY UnitZ Up ZERO Methods clone cloneTo cross dot fromArray length lengthSquared normalize scale set setValue toArray toDefault vadd vsub writeTo Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale ...
来源: Laya3.0_api 发布时间: 20231102
...ar arr:Array = [];//JSON数据录入 for (var i:int = 0; i < studentArr.length; i++) { var ob:Object = studentArr[i]; var bo:Boolean; (ob.signState)? bo=true:bo=false; (ob.signState)? str="已到":str="未到"; arr.push({name_txt:{text:ob.stuName}, state_txt:{text:str},sig...
来源: Laya_社区 发布时间: 20170822
..., this, e=>{ let str = input.text.split(''); for (let i = 0; i < str.length; i++) { let isNotNumber = true; for (let j = 0; j < 10; j++) { if (str[i] == j.toString()) { isNotNumber = false; break; } } if (isNotNumber) { str.splice(i, 1); i--; } } input.text = str.join(''); })
来源: Laya_社区 发布时间: 20190225
...:cannot read property 'width' of null TypeError: Cannot read property 'length' of null Laya.stage报null 问题状态 最新活动: 2017-03-23 19:56 浏览: 1347 关注: 2 人 palgerrard • 2017-03-23 20:31 ok,其实还是有可能出现空的。
来源: Laya_社区 发布时间: 20170323
...从而赋给材质? 无法对载入的材质操作。sharedMaterials的length为0 请问 3D shader 预编译,需要怎么处理? 请问粒子,shader,动画缓存的优化应该如何选择 切换3d模型的材质球 不要灯光的情况下,怎么让材质亮一点,或者说自发光...
来源: Laya_社区 发布时间: 20191121
... Composites.chain(ropeA, 0.5, 0, -0.5, 0, { stiffness: 0.8, length: 2, render: { type: 'line' } }); Composite.add(ropeA, Constraint.create({ bodyB: ropeA.bodies[0], pointB: { x: -25, y: 0 }, pointA...
来源: Laya_社区 发布时间: 20180323
...里报错:[Game] Uncaught (in promise) Error: End of data reached (data length = 1, asked index = 4). Corrupted zip ?我以为压缩文件有误,换了个以前项目在使用的压缩文件,结果也是一样的。 这是啥问题啊……………………,崩溃ing 老项目都是可以...
来源: Laya_社区 发布时间: 20230208
...onAssetsLoaded)); function onAssetsLoaded() { for (var i = 0, len = assets.length; i (图5) 应用滤镜时内存中的两个位图 当修改滤镜的某个属性或者显示对象时,内存中的两个位图都将更新以创建生成的位图,这两个位图可能会占用大量内存。...
来源: Laya2.0_文档 发布时间: 20210715
..._1.emiter.jscObj = json.jscObj; // yield相当于await if (!this.tsCongfig.length || (yield this.compile())) { //确认编译结果 this.checkAllDir(""); } else { console.log("compile fail!"); } }); } 复制代码[/code] 其中__awaiter是一个编译工具函数,相当于async/await ,因为引...
来源: Laya_社区 发布时间: 20200925
...ot read property 'width' of null的错误 TypeError: Cannot read property 'length' of null [Error] TypeError: null is not an object (evaluating 'this._style._tf') 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null Error: Layer value can be null. 射线检测报...
来源: Laya_社区 发布时间: 20180126