大约有 1,162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0110 秒)
Laya_社区(657) Laya_示例(157) Laya2.0_文档(129) Laya2.0_示例(116) Laya3.0_api(72) Laya3.0_文档(11) laya_api(11) Laya2.0_api(9)
...tance; // this.centerY = this.ball.y + Math.sin(this.angle2)*distance; } } function CreateBezierPoints(anchorpoints, pointsAmount) { var points = ; for (var i = 0; i < pointsAmount; i++) { var point = MultiPointBezier(anchorpoints, i / pointsAmount); points.push(point); } return points; } functio...
来源: Laya_社区 发布时间: 20171108
...Model/lizardCal/lizardCaclute.lh", Laya.Handler.create(this, onComplete)); function onComplete() { var monster1 = this.scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/staticModel/lizardCal/lizardCaclute.lh")); monster1.transform.position = new Laya.Vector3(-0.6, 0, 0); monster1.transform.loc...
来源: Laya_示例 发布时间: 20261113
....laya/publish.js 中 // 压缩js gulp.task("compressJs", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle: { keep_fnames:true } })) .pipe(sourcemaps.write(releaseDir +...
来源: Laya_社区 发布时间: 20200720
...ium.js:4:865) at ?(helium.js:6:1578) " __proto__: Object __defineGetter__: function() __defineSetter__: function() __lookupGetter__: function() __lookupSetter__: function() __proto__: null constructor: function() hasOwnProperty: function() isPrototypeOf: function() propertyIsEnumerable: function() t...
来源: Laya_社区 发布时间: 20240305
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface Static method
来源: Laya3.0_api 发布时间: 20231115
...导出模型后,使用js加载ls文件,报错Laya.Scene.load is not a function 我使用插件导出模型后,用官网的例子加载模型,报错Laya.Scene.load is not a function。 加载代码部分如下: Laya3D.init(1000, 800); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage...
来源: Laya_社区 发布时间: 20181107
...数内即可。 创建一个Entry.ts,示例代码如下: export async function main() { console.log("Hello LayaAir!"); //加载场景并打开场景 Laya.Scene.open('Scene.ls'); } 然后,我们在项目设置的脚本编译栏中,找到脚本编译选项分类下的启动脚本设置项, ...
来源: Laya3.0_文档 发布时间: 20251216
...光那里的, 但是看API 没有transform 的属性,代码如下: function LayaAir3D() { //初始化微信小游戏 Laya.MiniAdpter.init(); //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = ...
来源: Laya_社区 发布时间: 20180725
...信息。 Uncaught Error: IBQuadrangle count:16391 must<:16383 at Function.GlUtils.fillIBQuadrangle (laya.webgl.js:2614) at Function.GlUtils.expandIBQuadrangle (laya.webgl.js:2635) at WebGLContext2D.__proto.flush (laya.webgl.js:4744) at RenderContext.__proto.flush (laya.co...
来源: Laya_社区 发布时间: 20170725
....ERROR,this,errorHandler); xmlHttp.on(Event.PROGRESS,this,processHandler); function onHttpRequestComplete(e){ }; function processHandler(data){ console.log(data); }; function errorHandler(data){ }; xmlHttp.send("http://","","post","text"); 2018-02-02 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180202