大约有 654 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
Laya_社区(365) Laya3.0_api(124) Laya2.0_文档(97) Laya_示例(42) Laya3.0_文档(17) laya_api(5) Laya2.0_api(4)
...es _extra _isScene _singleton _updateMark owner runInEditor scriptPath TEMPVECTOR3 defaultTextureHDRDecodeValues Accessors ambientColor ambientIntensity ambientMode ambientSH ambientSphericalHarmonics awaked bounds boundsMax boundsMin boxProjection customReflection destroyed enabled hideFlags iblTex...
来源: Laya3.0_api 发布时间: 20231115
...ateBox(1, 1, 1))) as Laya.MeshSprite3D; box_1.transform.translate(new Laya.Vector3(0, 5, 0)); var boxRigidBody_1 : Laya.Rigidbody3D = box_1.addComponent(Laya.Rigidbody3D); var boxShape_1 : Laya.BoxColliderShape = new Laya.BoxColliderShape(1, 1, 1); boxRigidBody_1.colliderShape = boxShape_1; boxRigid...
来源: Laya_社区 发布时间: 20190602
...ossyScale toDir toLocalNormal translate Properties Static tmpVec3 tmpVec3: Vector3 = new Vector3() Defined in laya/d3/core/Transform3D.ts:882 Accessors localMatrix get localMatrix(): Matrix4x4 set localMatrix(value: Matrix4x4): void Defined in laya/d3/core/Transform3D.ts:370 局部矩阵。 Returns ...
来源: Laya3.0_api 发布时间: 20231115
...性约束模式 Parameters value: number Returns void anchor get anchor(): Vector3 set anchor(value: Vector3): void Overrides ConstraintComponent.anchor Defined in laya/d3/physics/constraints/ConfigurableConstraint.ts:340 设置锚点 Returns Vector3 Overrides ConstraintComponent.anchor Defined in l...
来源: Laya3.0_api 发布时间: 20231115
...,形状都变了呢? meshbox.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 1)); 附件 : --> 2019-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 aplsong 赞同来自: directionLight.t...
来源: Laya_社区 发布时间: 20190926
...te3D).meshRender.material as Laya.StandardMaterial; mat.ambientColor = new Vector3(0.5,0.5,0.5); 这样确实阴影变淡了,可地面也变色了。。。怎么办?我只要阴影变淡,不想其它的变色 2018-03-20 0 1 分享 微博 QZONE 微信 qian 赞同来自: http://layaair.ldc.layab...
来源: Laya_社区 发布时间: 20180320
...era(0, 0.3, 100)) as Laya.Camera; this.camera.transform.translate(new Laya.Vector3(0, 25, 16)); this.camera.transform.rotate(new Laya.Vector3(-56, 0, 0), true, false); 2018-10-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20181015
...ya.PointLight()); //设置点光源颜色 this.pointLight.color = new Laya.Vector3(1.0, 0.5, 0.0); //设置点光源位置 this.pointLight.transform.position = new Laya.Vector3(0.4, 0.4, 0.0); //设置点光源的范围 this.pointLight.range = 3.0; ``` **range** 为设置点光源的范围,相当...
来源: Laya2.0_文档 发布时间: 20210714
...; // scene_360.addChild(camera); camera.transform.rotationEuler = new Laya.Vector3(-32, -75, 0); camera.transform.position = new Laya.Vector3(-8.2, 5.3, 2.2); var modelViewer = camera.addComponent(ModelViewer); modelViewer.AroundPos = Laya.Vector3._ZERO; var directionLight = (scene_360 as Laya.Node)...
来源: Laya_社区 发布时间: 20190813
...st.getChildAt(0).clone()); a.transform.translate(new Laya.Vector3(0,1.38,-60))//transform.localPositionX-=2; a.transform.scale = new Laya.Vector3(10,10,10) a.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); ...
来源: Laya_社区 发布时间: 20200107