• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 654 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)

241. laya.d3.component.volume.reflectionprobe.ReflectionProbe_API3.0 [ 77%]

...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

242. 物体碰撞问题 [ 77%]

...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

243. laya.d3.core.Transform3D_API3.0 [ 77%]

...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

244. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 77%]

...性约束模式 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

245. laya3d变换,m.transform.worldMatrix.setForward中,setForward的用法? [ 77%]

...,形状都变了呢? meshbox.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 1));       附件 : --> 2019-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 aplsong 赞同来自: directionLight.t...

来源: Laya_社区 发布时间: 20190926

246. 阴影太浓怎么变淡?看到说directlight.ambientColor,但这ambientColor属性没有 [ 77%]

...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

247. 3d射线检测问题 [ 77%]

...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

248. PointLight介绍(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 77%]

...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

249. PBR标准材质实时阴影渲染问题 [ 77%]

...; // 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

250. layaAir2.3克隆以及获取节点重大bug!!! [ 77%]

...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