大约有 427 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
Laya_社区(108) Laya3.0_api(93) laya_api(83) Laya2.0_api(75) Laya2.0_文档(49) Laya3.0_文档(14) Laya_示例(4) Laya2.0_示例(1)
...ron • 2018-08-06 16:09 webglcharimage.as 里面 var sFont:String = "normal 100" + nFontSize +"px Arial"; 改为 var sFont:String = "normal 100 " + font; ggg333 • 2018-08-06 16:39 依然会出问题,然而我没办法给你demo,小demo出不来问题,自己的...
来源: Laya_社区 发布时间: 20180803
...为静态图像,能极大提高渲染性能,cacheAs有”none”,”normal”和”bitmap”三个值可选。 1. 默认为”none”,不做任何缓存。 2. 当值为”normal”时,Canvas下进行画布缓存,webgl模式下进行命令缓存。 3. 当值为”bitmap”时,Canvas下...
来源: Laya2.0_文档 发布时间: 20210714
...LocalTransformations Constructors constructor new StaticPlaneColliderShape(normal: Vector3, offset: number): StaticPlaneColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/StaticPlaneColliderShape.ts:22 创建一个新的 StaticPlaneColliderShape 实例。 Parameters n...
来源: Laya3.0_api 发布时间: 20231115
...neTo equals fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling add createFromAxisAngle createFromMatrix3x3 createFromMatrix4x4 createFromYawPitchRoll dot invert lerp lookAt multiply rotationLookAt rotationMatrix slerp Constructors constructor new...
来源: Laya3.0_api 发布时间: 20231102
...缓存为静态图像,能极大提高渲染性能,cacheAs有"none","normal"和"bitmap"三个值可选。 1. 默认为"none",不做任何缓存。 2. 当值为"normal"时,Canvas下进行画布缓存,webgl模式下进行命令缓存。 3. 当值为"bitmap"时,Canvas下进行依然是画...
来源: Laya2.0_文档 发布时间: 20210715
...rel/Materials/Textures/Barrel_AlbedoTransparency.png'); //法线贴图 mat.normalTexture = Laya.Texture2D.load('../../res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_Normal.png'); //金属光滑度贴图 mat.metallicGlossTexture = Laya.Texture2D.load('../../res/thre...
来源: Laya_示例 发布时间: 20251130
... out:Vector4):void[static] 计算两个四维向量的乘积。 Vector4 normalize(s:Vector4, out:Vector4):void[static] 归一化四维向量。 Vector4 scale(a:Vector4, b:Number, out:Vector4):void[static] 缩放四维向量。 Vector4 subtract(a:Vector4, b:Vector4, out:Vector4):void[static]...
来源: laya_api 发布时间: 20170929
... attributeMap: object = { "a_Position": Laya.VertexMesh.MESH_POSITION0, "a_Normal": Laya.VertexMesh.MESH_NORMAL0, "a_Textcoord": Laya.VertexMesh.MESH_TEXTURECOORDINATE0, "a_Textcorrd1": Laya.VertexMesh.MESH_TEXTURECOORDINATE1, "a_Tangent": Laya.VertexMesh.MESH_TANGENT0, "a_Color": Laya.VertexMesh.ME...
来源: Laya_社区 发布时间: 20201009
....vertexTangent 我写的是 Laya.VertexMesh.getVertexDeclaration("POSITION,NORMAL,COLOR,TANGENT"); 顶点实际塞进去的数据位数肯定对的。 然后在shader里访问vertex.vertexColor都是没问题的,但vertex.vertexTangent就不行了。 不叫vertexTangent吗?那叫什么?最好...
来源: Laya_社区 发布时间: 20250408
Laya.RaycastHit 碰撞检测信息的normal信息无效,值都为(0,0,0) 2018-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 185*****521 赞同来自: 3D引擎1.0版本没有计算法线,只计算...
来源: Laya_社区 发布时间: 20180601