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

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

91. laya.d3.math.Vector3 [ 73%]

... out:Vector3):void[static] 计算两个三维向量的乘积。 Vector3  normalize(s:Vector3, out:Vector3):void[static] 归一化三维向量。 Vector3  scalarLength(a:Vector3):Number[static] 计算标量长度。 Vector3  scalarLengthSquared(a:Vector3):Number[static] 计算标量长度的平...

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

92. 自定义shader-地形shader [ 73%]

...{ var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0, 'a_Normal': Laya.VertexElementUsage.NORMAL0, 'a_Texcoord0': Laya.VertexElementUsage.TEXTURECOORDINATE0, 'a_Texcoord1': Laya.VertexElementUsage.TEXTURECOORDINATE1 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Lay...

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

93. laya.d3.resource.models.Mesh_API3.0 [ 73%]

...ediately lock morphTargetData name url uuid DEBUG MESH_INSTANCEBUFFER_TYPE_NORMAL MESH_INSTANCEBUFFER_TYPE_SIMPLEANIMATOR Accessors bounds cpuMemory destroyed gpuMemory id indexCount indexFormat inverseAbsoluteBindPoses obsolute referenceCount subMeshCount vertexCount cpuMemory gpuMemory Methods _ad...

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

94. laya.d3.graphics.VertexElementUsage [ 72%]

...stantDefined By  AGEADDSCALE0 : int = 21[static] VertexElementUsage  BINORMAL0 : int = 4[static] VertexElementUsage  BLENDINDICES0 : int = 6[static] VertexElementUsage  BLENDWEIGHT0 : int = 7[static] VertexElementUsage  COLOR0 : int = 1[static] VertexElementUsage  COLOR1 : int = 13[stati...

来源: laya_api 发布时间: 20170929

95. laya.d3.math.Vector3 [ 72%]

... out:Vector3):void[static] 计算两个三维向量的乘积。 Vector3  normalize(s:Vector3, out:Vector3):void[static] 归一化三维向量。 Vector3  scalarLength(a:Vector3):Number[static] 计算标量长度。 Vector3  scalarLengthSquared(a:Vector3):Number[static] 计算标量长度。 Ve...

来源: laya_api 发布时间: 20170929

96. 富文本A标签超链接点击范围太小,经常点不到怎么回事? [ 72%]

...能变更鼠标手势? mTextLevel.style.cssText("p{leading:6; font-style:normal; font-weight:normal}\n a{text-decoration:underline; color:#00FF00;}\n .hengxian{display:block;leading:6;color:#00000000} "); cssText这里如何定义多个标签的CSS样式 2017-04-24 添加评论 免费帖 --> 分...

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

97. 基于Cannon.js的物理系统(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 71%]

...sole.log(out.point.z); //输出碰撞点的的法线信息 console.log(out.normal.x); console.log(out.normal.y); console.log(out.normal.z); } } ``` **在LayaAir IDE中使用Cannon.js物理引擎库** 需要手动勾选Cannon相关的两个库cannon.js和laya.cannonPhysics.js 如图所示: ![](img/...

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

98. 粒子特效问题 [ 71%]

...解 lflluofenli • 2018-03-29 21:17 上面说少了,好像是不勾选normal的参数也会报错,只要选用其他三个shader并且勾选上normal就可以了,但是效果达不到unity的效果 lflluofenli • 2018-03-29 21:18 @qian 大佬,帮忙解答下 qian • 2018-03-29 15:32 你...

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

99. laya.d3.math.Native.ConchVector3 [ 71%]

...Vector3):void[static] 计算两个三维向量的乘积。 ConchVector3  normalize(s:ConchVector3, out:ConchVector3):void[static] 归一化三维向量。 ConchVector3  scalarLength(a:ConchVector3):Number[static] 计算标量长度。 ConchVector3  scalarLengthSquared(a:ConchVector3):Number[st...

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

100. laya.d3.shader.SubShader_API3.0 [ 71%]

...OLOR0, ShaderDataType.Vector4] Defined in laya/d3/shader/SubShader.ts:48 a_Normal a_Normal: [number, Vector3] = [VertexMesh.MESH_NORMAL0, ShaderDataType.Vector3] Defined in laya/d3/shader/SubShader.ts:44 a_Position a_Position: [number, Vector4] = [VertexMesh.MESH_POSITION0, ShaderDataType.Vector4] D...

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