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

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

11. laya.d3.math.Plane [ 93%]

...tyDefined By  distance : Number平面到坐标系原点的距离Plane  normal : Vector3平面的向量Plane  PlaneIntersectionType_Back : int = 0[static] 平面与其他几何体相交类型Plane  PlaneIntersectionType_Front : int = 1[static] Plane  PlaneIntersectionType_Intersecting : int...

来源: laya_api 发布时间: 20170929

12. laya.d3.math.Plane [ 93%]

...tyDefined By  distance : Number平面到坐标系原点的距离Plane  normal : Vector3平面的向量Plane  PlaneIntersectionType_Back : int = 0[static] 平面与其他几何体相交类型Plane  PlaneIntersectionType_Front : int = 1[static] Plane  PlaneIntersectionType_Intersecting : int...

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

13. laya.d3.graphics.VertexPositionNormalColor [ 93%]

...nAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorInheritanceVertexPositionNormalColor ObjectImplements IVertex VertexPositionNormalColor 类用于创建位置、法线、颜...

来源: laya_api 发布时间: 20170929

14. 如何自定义Shader(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 93%]

...ition; uniform mat4 u_MvpMatrix; uniform mat4 u_WorldMat; attribute vec3 a_Normal; varying vec3 v_Normal; void main() { gl_Position = u_MvpMatrix * a_Position; mat3 worldMat=mat3(u_WorldMat); v_Normal=worldMat*a_Normal; }`; let simpleShaderFS = ` #ifdef FSHIGHPRECISION precision highp float; #else p...

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

15. laya.d3.graphics.VertexPositionNormalColorTangent [ 93%]

...nAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTangentInheritanceVertexPositionNormalColorTangent ObjectImplements IVertex VertexPositionNormalColorTangent 类用于...

来源: laya_api 发布时间: 20170929

16. laya.d3.graphics.VertexPositionNormalColorTexture [ 93%]

...nAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTextureProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTextureInheritanceVertexPositionNormalColorTexture ObjectImplements IVertex VertexPositionNormalColorTexture 类用于...

来源: laya_api 发布时间: 20170929

17. 如何自定义Shader(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 92%]

...ition; uniform mat4 u_MvpMatrix; uniform mat4 u_WorldMat; attribute vec3 a_Normal; varying vec3 v_Normal; void main() { gl_Position = u_MvpMatrix * a_Position; mat3 worldMat=mat3(u_WorldMat); v_Normal=worldMat*a_Normal; gl_Position=remapGLPositionZ(gl_Position); } ``` 片元着色器 `simpleShader.f...

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

18. 写shader还区分2d,与3d么!看官网是3d的shader例子,有没有2d的shader例子? [ 92%]

...{ 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_社区 发布时间: 20180904

19. 如何自定义Shader(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 92%]

...ition; uniform mat4 u_MvpMatrix; uniform mat4 u_WorldMat; attribute vec3 a_Normal; varying vec3 v_Normal; void main() { gl_Position = u_MvpMatrix * a_Position; mat3 worldMat=mat3(u_WorldMat); v_Normal=worldMat*a_Normal; gl_Position=remapGLPositionZ(gl_Position); } ``` 片元着色器 `simpleShader.f...

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

20. laya.d3.graphics.VertexPositionNormalColorSkin [ 92%]

...nAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorSkinProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorSkinInheritanceVertexPositionNormalColorSkin ObjectImplements IVertex VertexPositionNormalColorSkin 类用于创建位置...

来源: laya_api 发布时间: 20170929