大约有 986 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0054 秒)
Laya_社区(522) Laya3.0_api(117) Laya2.0_文档(110) Laya2.0_api(94) laya_api(83) Laya_示例(40) Laya3.0_文档(20)
...e = this.scene_3d.addChild(sp); goldNode.transform.localPosition = new Laya.Vector3(this.startPos.x + (4.5 - Math.random() * 9), this.startPos.y, this.startPos.z + (2.5 - Math.random() * 5)); console.log('------------...
来源: Laya_社区 发布时间: 20200326
...null, function(sprite:Laya.Sprite3D):void { scene.addChild(sprite); sprite.transform.localScale = new Laya.Vector3(0.2, 0.2, 0.2); })); 报错信息 Uncaught TypeError: Cannot read property 'transform' of undefined at SkinnedMeshRenderer._computeSubSkinnedData (laya.d3.js:24876) at Sk...
来源: Laya_社区 发布时间: 20200104
...01; //加上这行代码:Z轴平移直到移到视野之外 layaMonkey3D.transform.position = _position; camera.viewport.project(layaMonkey3D.transform.position, camera.projectionViewMatrix, _outPos); layaMonkey2D.pos(_outPos.x / Laya.stage.clientScaleX, _outPos.y / Laya.stage.clientScaleY); } 201...
来源: Laya_社区 发布时间: 20170810
...tationAll Packages | All Classes | Index | Frames No Frames AnimationTransform3DProperties | Methods Packagelaya.d3.animationClasspublic class AnimationTransform3DInheritanceAnimationTransform3D EventDispatcher Object AnimationTransform3D 类用于实现3D变换。 Public Properties Propert...
来源: Laya2.0_api 发布时间: 20190513
...etBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns AutoBitmap Properties _color _color: string = "#ffffff" Defined in l...
来源: Laya3.0_api 发布时间: 20231115
...D(Laya.PrimitiveMesh.createSphere(1)); this.scene1.addChild(ball); ball.transform.position = new Laya.Vector3((Math.random() - 0.5) * 2, 10, 17); //添加刚体 ball.addComponent(Laya.PhysicsCollider); let ballrigid: Laya.Rigidbody3D = ball.addComponent(Laya.Rigidbody3D); ballrigid.colliderSha...
来源: Laya_社区 发布时间: 20190506
...ert (appdata v) { v2f o; o.vertex = UnityObjectToClipPos(v.vertex); o.uv = TRANSFORM_TEX(v.uv, _MainTex); o.uv2 = TRANSFORM_TEX(v.uv2, _MainTex); UNITY_TRANSFER_FOG(o,o.vertex); return o; } fixed4 frag (v2f i) : SV_Target { // sample the texture fixed4 col1 = tex2D(_MainTex, i.uv); fixed4 col2 = ...
来源: Laya_社区 发布时间: 20190422
...; //加载到场景 scene.addChild(camera); //旋转摄像机角度 camera.transform.rotate(new Vector3( -25, 0, 0), false, false); //移动摄像机位置 camera.transform.position=new Vector3(0, 5, 10); //加入摄像机移动控制脚本 //camera.addComponent(CameraMoveScript); //添加蒙皮动...
来源: Laya_社区 发布时间: 20190416
...ined;at api readFile success callback function discard property,please use transform's property instead Cannot set property text of #<Button> which has only a getter XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. 问题状态 最...
来源: Laya_社区 发布时间: 20180709
...ite3D.load("model/warehouse/1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); warehouse1.name = "仓库1"; var warehouseCollider1 = warehouse1.addComponent(Laya.MeshCollider); war...
来源: Laya_社区 发布时间: 20171219