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

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

51. Sprite-根据数据绘制路径 [ 87%]

...ENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.drawPentagram(); } drawPentagram() { let canvas = new Laya.Sprite(); Laya.stage.addChild(canvas); let path = []; path.push(0, -130); path.push(33, -33); path.push(137, -30); path.push(55, 32); path.push(85, 130);...

来源: Laya2.0_示例 发布时间: 20240930

52. laya.d3.shadowMap.ParallelSplitShadowMap [ 87%]

...ustumCulling():BoundFrustumParallelSplitShadowMap  multiplyMatrixOutFloat32Array(left:Matrix4x4, right:Matrix4x4, out:Float32Array):void[static] 计算两个矩阵的乘法 ParallelSplitShadowMap  setFarDistance(value:Number):voidParallelSplitShadowMap  setInfo(scene:Scene, maxDistance:Number,...

来源: laya_api 发布时间: 20170929

53. 关于图集格式问题 [ 86%]

...置? --pixelFormat <pixel format> Mono | MonoLSB | Indexed8 | RGB32 | ARGB32 | ARGB32_Premultiplied | RGB16 | ARGB8565_Premultiplied | RGB666 | ARGB6666_Premultiplied | RGB555 | ARGB8555_Premultiplied | RGB888 | RGB444 | ARGB4444_Premultiplied | RGBX8888 | RGBA8888 | RGBA8888_Premultiplied |...

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

54. laya.display.cmd.DrawTrianglesCmd [ 86%]

...TrianglesCmd  texture : Texture 纹理。 DrawTrianglesCmd  uvs : Float32Array UV数据。 DrawTrianglesCmd  vertices : Float32Array 顶点数组。 DrawTrianglesCmd  x : Number X轴偏移量。 DrawTrianglesCmd  y : Number Y轴偏移量。 DrawTrianglesCmdPublic Methods  MethodDefined By...

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

55. ts加密md5码封装 [ 86%]

...] } test: let str = Md5.Instance.get_md5("123456"); console.log(str) //len:32 //e10adc3949ba59abbe56e057f20f883emd5.ts class Md5 { private static _inst:Md5; public static get Instance():Md5 { return this._inst ||(this._inst = new Md5()); } public get_md5(str:string):string { return this.md5(str); } ...

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

56. laya.d3.graphics.VertexBuffer3D [ 86%]

...er3D):void 和索引缓冲一起绑定。 VertexBuffer3D  getData():Float32Array 获取顶点数据。 VertexBuffer3D  setData(data:Float32Array, bufferOffset:int = 0, dataStartIndex:int = 0, dataCount:uint = 4294967295):void 设置数据。 VertexBuffer3DProtected Methods Show Inherited Protect...

来源: laya_api 发布时间: 20170929

57. 嵌套类型的protobuf报错 [ 85%]

嵌套类型的protobuf报错 message LoginResult {  required int32 result = 1;  optional string authToken = 2;  repeated ServerInfo serverList = 3;  optional int32 platformErrorCode = 4;  optional string par1 = 5;  optional string par2 = 6;  optional string recommendedUId = 7; } message Ser...

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

58. Laya 鼠标Cursor怪异问题,有demo [ 85%]

... 、Legend 这个应该是windows系统的问题,你的图标一旦超过32x32, 那么当鼠标位置+图标大小超过窗口的时候,就会失效 把光标大小限制到32x32以内就可以了 2020-12-08 2 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前...

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

59. 安装layaair2-cmd一直失败 [ 85%]

...d   i compiling from source   × Error: Command failed: C:\Windows\system32\cmd.exe /s /c "autoreconf -ivf" 'autoreconf' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���������ļ���     at C:\Users\Administrator\AppData\Roaming\npm\nod...

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

60. 纹理的格式(TypeScript-3D基础(TS)-LayaAir3D之纹理) [ 84%]

...缩的RGB纹理。这是最常见的漫反射纹理格式。 4位/像素(32 KB 256x256) `FORMAT_DXT5` 压缩的RGBA纹理。1 字节/像素(64 KB 256x256) > Android `FORMAT_ETC1RGB` 压缩的RGB纹理。这是Android工程默认的纹理格式。ETC1是OpenGL ES 2.0标准的一部分,并...

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