大约有 90 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0049 秒)
...mesh/MeshData.ts:43 扩展像素,用来去除黑边 indexes indexes: Uint16Array = new Uint16Array([0, 1, 3, 3, 1, 2]) Inherited from MeshData.indexes Defined in laya/ani/bone/canvasmesh/MeshData.ts:28 顶点索引 texture texture: Texture Inherited from MeshData.texture Defined in laya/ani/bone/can...
来源: Laya3.0_api 发布时间: 20231115
...olean Returns NativeUniformBufferObject Properties _buffer _buffer: Float32Array | Uint16Array | Uint8Array | Uint32Array Inherited from Buffer._buffer Defined in laya/RenderEngine/Buffer.ts:8 _bufferType _bufferType: number Inherited from Buffer._bufferType Defined in laya/RenderEngine/Buffer.ts:10...
来源: Laya3.0_api 发布时间: 20231115
...无符号整型随机种子。 Returns Rand Properties seeds seeds: Uint32Array = new Uint32Array(4) Defined in laya/d3/math/Rand.ts:29 获取随机种子。 Accessors seed get seed(): number set seed(seed: number): void Defined in laya/d3/math/Rand.ts:35 获取随机种子。 Returns number 随机...
来源: Laya3.0_api 发布时间: 20231115
...colors: Color[] 颜色数组。 Returns void getIndices getIndices(): Uint8Array | Uint16Array | Uint32Array Defined in laya/d3/resource/models/Mesh.ts:723 拷贝并获取网格索引的副本。 Returns Uint8Array | Uint16Array | Uint32Array 网格索引。 getNormals getNormals(normals: Vector3[])...
来源: Laya3.0_api 发布时间: 20231115
...onstructors constructor new HeightfieldTerrainShape(heightfieldData: Uint16Array | Float32Array | Uint8Array, heightStickWidth: number, heightStickLength: number, minHeight: number, maxHeight: number, heightScale: number): HeightfieldTerrainShape Overrides ColliderShape.constructor Defined in laya/d...
来源: Laya3.0_api 发布时间: 20231115
...; _isShake = true; var num:int = 0; var offsetArr:Array = [0, 0]; var point:Point = new Point(this.x, this.y); Laya.stage.timerLoop(speed, this, shakeObject); function shakeObject(args:Array=null, frameNum:uint=1, frameTime:uint=0):void{ var ...
来源: Laya_社区 发布时间: 20170823
...console.log("str.length*2:" + str.length*2); var b = new ArrayBuffer(20 + str.length*2); var dv = new DataView(b, 0); dv.setUint16(0, str.length*2, false); dv.setUint16(2, 0, false); dv.setUint16(4, 0, false); ...
来源: Laya_社区 发布时间: 20170628
...ferStateTerrainFilter _currentNumberIndices : intTerrainFilter _indexArrayBuffer : Uint16ArrayTerrainFilter _indexBuffer : IndexBuffer3DTerrainFilter _maxNumberIndices : intTerrainFilter _numberTriangle : intTerrainFilter _numberVertices : intTerrainFilter _vertexBuffer : Vertex...
来源: Laya2.0_api 发布时间: 20190513
...on(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:54 用于生成粒子初始位置和方向。 Parameters position: Vector3 粒子位置。 direction: Vector3 粒子方向。 Default value rand:...
来源: Laya3.0_api 发布时间: 20231115
...aya.stage.addChild(sp); sp.graphics.drawTriangles( tex, 100, 0, new Float32Array([0,0,1,0,1,1,0,1]), new Float32Array([0,0,1,0,1,1,0,1]), new Uint16Array([0,1,2,2,3,0]) ); sp.graphics.drawImage(tex, 100, 0); })); } } new Sprite_DisplayImage(); 贴入官方引擎示例重现 附件 : --> 2019-08-29 ...
来源: Laya_社区 发布时间: 20190829