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

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

141. laya.d3.core.ui3d.UI3D_API3.0 [ 70%]

... value: number Returns void lightmapScaleOffset get lightmapScaleOffset(): Vector4 set lightmapScaleOffset(value: Vector4): void Inherited from PixelLineRenderer.lightmapScaleOffset Defined in laya/d3/core/render/BaseRender.ts:269 光照贴图的缩放和偏移。 Returns Vector4 Inherited from Pixe...

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

142. 关于位图字体 使用颜色滤镜Native 和web draw call 次数不一致 [ 70%]

...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 vector 1 相关问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行...

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

143. laya.d3.math.Native.ConchVector3 [ 70%]

...umentationAll Packages | All Classes | Index | Frames No Frames ConchVector3Properties | Methods | Constants Packagelaya.d3.math.NativeClasspublic class ConchVector3InheritanceConchVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties Propert...

来源: Laya2.0_api 发布时间: 20190513

144. discard property,please use transform's property instead [ 70%]

...aya.Camera(0, 0.1, 1000));         camera.transform.translate(new Laya.Vector3(0, 1.5, 4));         camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false);         camera.addComponent(CameraMoveScript);         //方向光         var directionLight = scene.addChild(ne...

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

145. 关于3D物件半透明漫反射率(官网上的例子)的BUG。 [ 70%]

....1, 100))) as Laya.Camera;         camera.transform.translate(new Laya.Vector3(0, 0, 6));         camera.clearColor = null;         //材质         var material = new Laya.StandardMaterial();         material.diffuseTexture = Laya.Texture2D.load("Assets/test.png");         m...

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

146. WaterPrimaryMaterial的使用 [ 70%]

...PlaneMesh(10, 10))) as Laya.MeshSprite3D; // box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); // var material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); // var material: Laya.WaterPrimaryMaterial = new Laya.WaterPrimaryMaterial(); var material: Laya.WaterPrimaryMaterial...

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

147. 我想用代码来绘制一个3D球如何弄呢?看我写的 [ 70%]

...hild(new Laya.Camera(0, 0.1, 100)); // camera.transform.translate(new Laya.Vector3(0, 0.8, 1.0)); // camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; camera.addComponent(CameraMoveScript); //球体 var sphere = new Laya.SphereMesh(10,10,10); var sphereMesh...

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

148. Sprite3D添加组件或脚本(JavaScript-3D基础(JS)-LayaAir3D之精灵) [ 69%]

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

来源: Laya2.0_文档 发布时间: 20210714

149. 3D中摄像机绕物体旋转该如何实现? [ 69%]

...试着改一改就OK啦。。import Transform3D = Laya.Transform3D; import Vector3 = laya.d3.math.Vector3; import Quaternion = laya.d3.math.Quaternion; /* 用法: //初始化照相机 var camera = this.newScene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.rotationEuler =...

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

150. 3D模型无法用Tween类吗 [ 69%]

...3D; scene.addChild(layaMonkey); layaMonkey.transform.localScale = new Laya.Vector3(0.001,0.001,0.001); layaMonkey.transform.localPosition = new Laya.Vector3(0,1,0); layaMonkey.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0)); //移动模型 Laya.Tween.to(layaMonkey,{x:0,y:-1,z:-3},5000,Laya.Ease.l...

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