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

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

1. /*[COMPILER OPTIONS:normal]*/ [ 100%]

/*[COMPILER OPTIONS:normal]*/ 分包的时候在主类加上这句话/*[COMPILER OPTIONS:normal]*/ 主类JS文件会变得很大,这是什么原因求解,谢谢       2017-05-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

2. laya.d3.math.Plane_API3.0 [ 96%]

...tersectionType_Front PlaneIntersectionType_Intersecting Accessors distance normal Methods clone cloneTo normalize createPlaneBy3P Constructors constructor new Plane(normal?: Vector3, d?: number): Plane Defined in laya/d3/math/Plane.ts:16 创建一个 Plane 实例。 Parameters Default value normal: ...

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

3. 描边Shader,使用了两个Pass [ 95%]

...er() var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0, 'a_Texcoord': Laya.VertexMesh.MESH_TEXTURECOORDINATE0, } var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMat': [Laya.Sprite3D.WORLDMATRI...

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

4. 自定义shader-简单shader [ 95%]

...{ var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0, 'a_Normal': Laya.VertexElementUsage.NORMAL0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMat': [Laya.Sprite3D.WORLDMATRIX, Laya.Shader3D.PERIOD_SPRITE] }; var customShader ...

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

5. 分享水波一个shader [ 95%]

... ` attribute vec4 a_Position; attribute vec2 a_Textcoord; attribute vec3 a_Normal; uniform mat4 u_WorldMat; uniform mat4 u_MvpMatrix;   varying vec2 v_textcoord; varying vec3 v_normal; varying vec4 v_wpos;   void main() { v_textcoord = a_Textcoord; v_normal = a_Normal; v_wpos = u_WorldMat * a_Posi...

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

6. Laya.Physics.rayCast返回的RaycastHit里没有normal [ 95%]

Laya.Physics.rayCast返回的RaycastHit里没有normal 难道要用trianglePositions算?希望能输出一下法线方向normal,计算起来也不难。 2018-04-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

7. 设置cacheAs为normal,测试中Sprite数量没有减少 [ 95%]

设置cacheAs为normal,测试中Sprite数量没有减少 Laya 3D中 UI界面容器设置cacheAs为normal,实际测试中Sprite数量没有减少,保持原样。是否因为3D项目渲染方式不同?   附件 : --> 2019-12-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

8. laya.d3.graphics.Vertex.VertexPositionTerrain [ 94%]

...纹理1、纹理2顶点结构。 Public Properties PropertyDefined By  normal : Vector3[read-only] VertexPositionTerrain  position : Vector3[read-only] VertexPositionTerrain  textureCoord0 : Vector2[read-only] VertexPositionTerrain  textureCoord1 : Vector2[read-only] VertexPositionTerrain ...

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

9. LayaAir3D/BlinnPhong材质添加Normal Map后物体变黑 [ 93%]

LayaAir3D/BlinnPhong材质添加Normal Map后物体变黑 如题 附件 : --> 2018-06-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 如果使用方法没有问题,请传一个专项...

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

10. /*[COMPILER OPTIONS:ForcedCompile]*/ 和/*[COMPILER OPTIONS:Normal]*/ 的区别是什么? 该标签放在包头和类头上面区别又是什么? [ 93%]

/*[COMPILER OPTIONS:ForcedCompile]*/ 和/*[COMPILER OPTIONS:Normal]*/ 的区别是什么? 该标签放在包头和类头上面区别又是什么? 如题,我已经在用了,在社区看到各种用法,想明确具体细节。 2018-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信...

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