大约有 486 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
Laya_社区(338) Laya2.0_文档(56) Laya3.0_文档(33) Laya_示例(23) Laya3.0_api(14) Laya2.0_示例(10) Laya2.0_api(8) laya_api(4)
... Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //3.清除照相机颜色 camera.clearColor = null; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new L...
来源: Laya_示例 发布时间: 20251130
... in laya/d3/math/Color.ts:22 蓝绿色 Static GRAY GRAY: Color = new Color(0.5, 0.5, 0.5, 1) Defined in laya/d3/math/Color.ts:34 灰色 Static GREEN GREEN: Color = new Color(0, 1, 0, 1) Defined in laya/d3/math/Color.ts:14 绿色 Static MAGENTA MAGENTA: Color = new Color(1, 0, 1, 1) Defined in laya/d...
来源: Laya3.0_api 发布时间: 20231102
...olor: rgb(255, 237, 118); transform-origin: 0px 0px 0px; transform: matrix(0.5, 0, 0, 0.5, 311, 0);"></canvas> 其他电脑上: <canvas id="layaCanvas" width="760" height="650" style="position: absolute; left: 0px; top: 110px; background: rgb(255, 237, 118); transform-origin: 0px 0px 0...
来源: Laya_社区 发布时间: 20190401
... Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { var la...
来源: Laya_示例 发布时间: 20251130
...ript var raidius = Math.random() * 0.2 + 0.2; var height = Math.random() * 0.5 + 0.8; //创建胶囊MeshSprite3D var capsule = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createCapsule(raidius, height))); //创建刚体碰撞器 var rigidBody = capsule.addComponent(Laya.Rigidbody3D); //...
来源: Laya2.0_文档 发布时间: 20210715
...17:03 看楼下 zjw917329684 • 2017-06-01 21:43 表现就是anchorX设为0.5时,不管list多大,那个点都在第一项的0.5的位置 Monica • 2017-06-02 10:07 @zjw917329684:我这边测试是没有问题的,可以上传一个例子吗?我们看下 zjw917329684 • 2017-06-02 12:01 @M...
来源: Laya_社区 发布时间: 20170531
...0.3, 0.0, 0.0); mesh.transform.localScale = new Laya.Vector3(0.5, 0.5, 0.5); } } new StaticModel_MeshSample();报错如下: TypeError: Cannot read property 'AnimationPlayer' of undefined TypeError: Cannot read property 'component' of undefined ReferenceError: Laya3D is not def...
来源: Laya_社区 发布时间: 20161201
...vec4(position.x,position.y,0,1); gl_Position = vec4((pos.x/size.x-0.5)*2.0, (0.5-pos.y/size.y)*2.0, pos.z, 1.0); v_color = color;v_texcoord = texcoord;}`class ShaderValue extends Laya.Value2D { constructor () { super(0, 0) var _vlen = 8 * Laya.CONST3D2D.BYTES_PE this.position = [2,...
来源: Laya_社区 发布时间: 20180313
...a.Browser.width / 2, Laya.Browser.height / 2 + 100); //this.skeleton.scale(0.5, 0.5); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); } private onError() { console.error("load spine error"); } private play(): void { console.log("1111111111"); if (++this.index >= this.skeleton....
来源: Laya_社区 发布时间: 20210813
...Armature(1); mArmature.x = mStartX; mArmature.y = mStartY; mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); play(); } private function onEvent(e:*):void { var tEventData:EventData = e as EventData...
来源: Laya_社区 发布时间: 20170406