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

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

511. Sprite3D.transform.up中up向量是相对于什么方向上的向量? [ 69%]

...sfsmmc 相关问题 3D如何计算反射线的向量? 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 请问Laya2里面的物理引擎怎么使用才能像向量那样往一个方向发射 有没有四元...

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

512. laya.d3.core.material.EffectMaterial_API3.0 [ 69%]

...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...

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

513. LayaAir2.6.0版阴影系统如何使用,请教请教! [ 69%]

...as Laya.DirectionLight;         this.m_light.color = new Laya.Vector3(0.8, 0.8, 0.8);         this.m_light.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 1));         this.m_light.shadowCascadesMode = Laya.ShadowCascadesMode.NoCascades;         th...

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

514. laya.d3.core.trail.TrailMaterial_API3.0 [ 69%]

...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...

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

515. laya.d3.core.material.SkyBoxMaterial_API3.0 [ 69%]

...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...

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

516. laya.d3.core.material.SkyPanoramicMaterial_API3.0 [ 69%]

...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...

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

517. 如何将Tween缓动应用与3D物体 [ 69%]

...博 QZONE 微信 soren 赞同来自: clownFish.transform.lookAt(new Laya.Vector3(1.3288445472717285,0.9997662901878357,-3.575782537460327), new Laya.Vector3(0,0,0)); Laya.Tween.to(clownFish.transform.position, { x: 1.3288445472717285, y: 0.9997662901878357, z: -3.575782537460327, }, 2000) 2019-02-15...

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

518. 请问2.0射线到底如何使用呢? [ 69%]

...nt.MOUSE_DOWN, this, onMouseDown ); // 射线初始化 ray = new Ray( new Vector3(0,0,0), new Vector3(0,0,0) ); } // 鼠标点击方法 function onMouseDown(){     // 获取鼠标在屏幕点击的位置     var point:Vector2 = new Vector2;     point.x = Laya.stage.mouseX;     point.y =...

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

519. 3D模型的材质修改问题 [ 69%]

...se1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(0,0,0),false); warehouseMeshSprite3D1= warehouse1.getChildAt(0).getChildByName("Mesh1"); var shareMaterial = warehouseMeshSprite3D1.meshRender....

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

520. 关于3d项目中component的问题 [ 69%]

...代码,请大家指正!(function () { var convertTranslate = new Laya.Vector3(0, 0, 0); function CmpScript() { CmpScript.super(this); this.x = 0; } Laya.class(CmpScript, "CmpScript", Laya.Script) CmpScript.prototype._initialize = function (owner) { var _this = this; CmpScript.__super.prototype._...

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