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

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

71. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 61%]

...xOffset: number, yOffset: number, width: number, height: number, out: Uint8Array | Float32Array): Uint8Array | Float32Array Inherited from RenderTexture.getData Defined in laya/resource/RenderTexture.ts:233 Parameters xOffset: number yOffset: number width: number height: number out: Uint8Array | Flo...

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

72. 为什么自定义shader大图正常,小图就被缩小了 [ 60%]

...ate(); this.iBuffer = Laya.IndexBuffer2D.create(); this.ibData = new Uint16Array(); if(vb) { vbArray = vb; } else{ vbArray = []; var texWidth = texture.width; var texHeight = texture.height; // console.log("liuyi",texWidth); //定义颜色值,取值范围0~1浮点 var red = 1; var greed ...

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

73. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 60%]

...xOffset: number, yOffset: number, width: number, height: number, out: Uint8Array | Float32Array): Uint8Array | Float32Array Inherited from RenderTextureCube.getData Defined in laya/d3/resource/RenderTexture.ts:229 Parameters xOffset: number yOffset: number width: number height: number out: Uint8Arra...

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

74. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 59%]

...型只会被序列化,不能显示和编辑。 类型化数组类型 Int8ArrayUint8Array、Int16ArrayUint16Array、Int32ArrayUint32Array、Float32Array 支持7种类型化数组类型 数组类型 ["number"]、["string"] 用中括号包含数组元素类型, 使用示例代码如下: ...

来源: Laya3.0_文档 发布时间: 20240528

75. 向服务器发送图片无法使用atob解码? [ 59%]

...          var n = bstr.length;             var u8arr = new Uint8Array(n);             while (n--) {                 u8arr[n] = bstr.charCodeAt(n);             }             return new Blob([u8arr], { type: mime });//值,类型         } 不能用这种方...

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

76. laya.ani.bone.Templet_API3.0 [ 59%]

...ctors constructor Properties _id aniSectionDic bindBoneBoneSlotDic boneSlotArray boneSlotDic deformAniArr destroyedImmediately drawOrderAniArr eventAniArr ikArr isParseFail lock mBoneArr mRootBone name pathArr rate skinDataArray skinDic skinSlotDisplayDataArr srcBoneMatrixArr subTextureDic tfArr url...

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

77. laya.ui.AutoBitmap [ 59%]

...ic Properties Show Inherited Public Properties PropertyDefined By cmds : ArrayGraphics  height : Number 表示显示对象的高度,以像素为单位。 AutoBitmap  sizeGrid : Array 当前实例的有效缩放网格数据。 如果设置为null,则在应用任何缩放转换时,将正常...

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

78. 让 CylinderMesh 支持椎体 [ 54%]

...texFloatStride=vertexDeclaration.vertexStride / 4; var vertices=new Float32Array(this._numberVertices *vertexFloatStride); var indices=new Uint16Array(this._numberIndices); var sliceAngle=(Math.PI *2.0)/ this._slices; var halfHeight=this._height / 2; var curAngle=0; var verticeCount=0; var posX=0; v...

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

79. laya.display.Graphics_API3.0 [ 53%]

...les drawTriangles(texture: Texture, x: number, y: number, vertices: Float32Array, uvs: Float32Array, indices: Uint16Array, matrix?: Matrix | null, alpha?: number, color?: string | number, blendMode?: string | null): DrawTrianglesCmd Defined in laya/display/Graphics.ts:273 绘制一组三角形 Param...

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

80. laya.resource.NativeContext_API3.0 [ 53%]

...archy NativeContext Index Constructors constructor Properties _buffer _byteArray _fdata _idata sprite ARRAY_BUFFER_REF_COPY ARRAY_BUFFER_REF_REFERENCE ARRAY_BUFFER_TYPE_CMD ARRAY_BUFFER_TYPE_DATA ENUM_TEXTALIGN_CENTER ENUM_TEXTALIGN_DEFAULT ENUM_TEXTALIGN_RIGHT const2DRenderCMD Accessors _curMat _ta...

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