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

大约有 248 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0039 秒)

81. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 80%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight....

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

82. 射线检测-选取物体 [ 79%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vecto...

来源: Laya_示例 发布时间: 20241117

83. laya.d3.physicscannon.shape.CannonCompoundColliderShape_API3.0 [ 79%]

...ape.ts:16 形状方向_Z轴正向 Accessors localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CannonColliderShape.localOffset Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:119 Shape的本地偏移。 Returns Vector3 Inherited from CannonColli...

来源: Laya3.0_api 发布时间: 20231102

84. laya3D导入动画材质在安卓手机和电脑上显示正常,在苹果手机显示异常 [ 79%]

...e3D(); Laya.stage.addChild(this.scene); this.scene.ambientColor = new Laya.Vector3(0.5, 0.5, 0.5); //初始化相机 var camera = new Laya.Camera(0, 0.1, 100); this.scene.addChild(camera); camera.transform.translate(new Laya.Vector3(0, 3, 5)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), tr...

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

85. 如何实现3d遮罩效果? [ 79%]

...ial.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.RenderTexture; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.ui.Button; import laya.utils.Browser; import l...

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

86. 求ShuriKenParticle3D用法 [ 79%]

...rt ShurikenParticleMaterial = Laya.ShurikenParticleMaterial;     import Vector2                  = Laya.Vector2;     import Vector3                  = Laya.Vector3;     import Vector4                  = Laya.Vector4;     import Particle3...

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

87. UNITY导出的模型旋转不了 [ 78%]

...let obj = sp; let obj = scene.addChild(sp); obj.transform.scale = new Laya.Vector3(4, 4, 4); obj.transform.rotate(new Laya.Vector3(0, 0.9, 0)); obj.addComponent(BoxControlScript); //旋转方向与角度设置 //var vect = new Laya.Vector3(0,1,0); //每10毫秒旋转一次 //Laya.timer.loop(10,null,...

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

88. 问下,3D模型导出有什么要求 [ 78%]

...new DirectionLight()) as DirectionLight; directionLight.ambientColor = new Vector3(0.6, 0.6, 0.6); directionLight.specularColor = new Vector3(0.6, 0.6, 0.6); directionLight.diffuseColor = new Vector3(0.6, 0.6, 0.6); directionLight.direction = new Vector3(1, -1, 0); 2017-03-20 0 2 分享 微博 QZONE...

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

89. 导入3D模型有问题 [ 78%]

...ya.Camera(0, 0.1, 1000)));         camera.transform.translate(new Laya.Vector3(0, 3, 3));         camera.transform.rotate(new Laya.Vector3(0, 0, 0), true, false);         camera.clearColor = null;   //添加自定义模型        var mesh = scene.addChild(new Laya.Sprite3D.load("res...

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

90. 高级应用-寻路导航 [ 78%]

...项目开发更高效。Laya3D.init(0, 0, true); this._position = new Laya.Vector3(0, 0, 0); this._upVector3 = new Laya.Vector3(0, 1, 0); this._tarPosition = new Laya.Vector3(0, 0, 0); this._finalPosition = new Laya.Vector3(0, 0, 0); this._quaternion = new Laya.Quaternion(); this.index = 0; this.cur...

来源: Laya_示例 发布时间: 20241117