大约有 75 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
Laya3.0_api(43) Laya2.0_api(9) Laya2.0_文档(6) laya_api(5) Laya_社区(5) Laya3.0_文档(4) Laya_示例(2) Laya2.0_示例(1)
获取当前的canvas的缩放比例 我设置: Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; canvas里面有一个transform: matrix(...);将canvas自动缩放到正确的大小; 我如何获取当前缩放的比例, 是在Laya.stage里面吗 2016-09-18 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20160918
...32种不同的碰撞类别可用RigidBody destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component gravityScale : Number重力缩放系数,设置为0为没有重力RigidBody group : int = 0[只读] 指定了该主体所...
来源: Laya2.0_api 发布时间: 20190513
... mat.normalScale = 1; //光滑度数据源:从金属度贴图/反射贴图获取。 mat.smoothnessSource = Laya.PBRStandardMaterial.SmoothnessSource_MetallicGlossTexture_Alpha; var barrel = scene.getChildByName("Wooden_Barrel") as Laya.MeshSprite3D; var barrel1 = scene.getChildByName("Wooden_Barrel ...
来源: Laya2.0_文档 发布时间: 20210714
... mat.normalScale = 1; //光滑度数据源:从金属度贴图/反射贴图获取。 mat.smoothnessSource = PBRStandardMaterial.SmoothnessSource_MetallicGlossTexture_Alpha; var barrel:MeshSprite3D = scene.getChildByName("Wooden_Barrel") as MeshSprite3D; var barrel1:MeshSprite3D = scene.getChildByName...
来源: Laya2.0_文档 发布时间: 20210714
...片能否进行翻转? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 摄像机跟随刚体移动,刚体出现抖动。 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 想让...
来源: Laya_社区 发布时间: 20200513
...s.mat.normalScale = 1; //光滑度数据源:从金属度贴图/反射贴图获取。 this.mat.smoothnessSource = Laya.PBRStandardMaterial.SmoothnessSource_MetallicGlossTexture_Alpha; let barrel = this.scene.getChildByName("Wooden_Barrel"); let barrel1 = this.scene.getChildByName("Wooden_Barrel (1)")...
来源: Laya2.0_文档 发布时间: 20210715
...w Inherited Public Properties PropertyDefined By albedoColor : Vector4 获取反射率颜色。 PBRSpecularMaterial albedoColorA : Number 获取反射率颜色A分量。 PBRSpecularMaterial albedoColorB : Number 获取反射率颜色B分量。 PBRSpecularMaterial albedoColorG : Number ...
来源: Laya2.0_api 发布时间: 20190513
...w Inherited Public Properties PropertyDefined By albedoColor : Vector4 获取漫反射颜色。 PBRStandardMaterial albedoColorA : Number 获取反射率颜色Z分量。 PBRStandardMaterial albedoColorB : Number 获取反射率颜色B分量。 PBRStandardMaterial albedoColorG : Number ...
来源: Laya2.0_api 发布时间: 20190513
... Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial horizonColor : Vector4 获取地平线颜色。 WaterPrimaryMaterial mainTexture : BaseTexture 获取...
来源: Laya2.0_api 发布时间: 20190513
...撞检测rect没有旋转 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 求指点3d射线碰撞和UI点击穿透的问题 laya2.0 3d物理碰撞穿透问题 laya2.2 导出场景物理碰撞问题 sprite3D可以设置碰撞体吗 layaBox碰撞 官方"3D角色脚本控制与碰撞检...
来源: Laya_社区 发布时间: 20181120