大约有 257 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
Laya_社区(87) Laya3.0_api(79) laya_api(30) Laya2.0_api(29) Laya3.0_文档(15) Laya2.0_文档(13) Laya_示例(4)
...= false 是否可读。 Returns VertexBuffer3D 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/Buffe...
来源: Laya3.0_api 发布时间: 20231115
... = false 是否可读。 Returns IndexBuffer3D 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/Buffe...
来源: Laya3.0_api 发布时间: 20231115
...idden 始终隐藏。 Bar On Left 是否将滚动条显示在左边。 Bar Floating 勾选后,滚动条不占据视口的位置,而是直接覆盖在视口上面。例如一个适用于手机的滚动条,它是细条且半透明的,只在滚动时才显示出来,用于提示滚动位置。...
来源: Laya3.0_文档 发布时间: 20251010
...三角形的顶点索引 } this.iNum = ibArray.length; this.vbData = new Float32Array(vbArray); this.ibData = new Uint16Array(ibArray); this.vBuffer.append(this.vbData); this.iBuffer.append(this.ibData); this.shaderValue = new myShaderValue(); this.shaderValue.textureHost = texture; this._renderType...
来源: Laya_社区 发布时间: 20180619
...nput.GetTouch(0).position; var tempPosition2 = Input.GetTouch(1).position; float currentTouchDistance = Vector3.Distance(tempPosition1, tempPosition2); float lastTouchDistance = Vector3.Distance(oldPosition1, oldPosition2); //计算上次和这次双指触摸之间的距离差距 //然后去更改...
来源: Laya_社区 发布时间: 20170714
... 所以我们要传入一个Vector4的数组,或者是Vector4转换好的Float32Array,来设置shader中的CUSTOME0槽位名字为a_InstanceColor的instance属性, 示例代码为: ```typescript //改变900小球的颜色 this.materialBlock.setVectorArray("a_InstanceColor",this.currentColor,...
来源: Laya2.0_文档 发布时间: 20210714
...nput.GetTouch(0).position; var tempPosition2 = Input.GetTouch(1).position; float currentTouchDistance = Vector3.Distance(tempPosition1, tempPosition2); float lastTouchDistance = Vector3.Distance(oldPosition1, oldPosition2); //计算上次和这次双指触摸之间的距离差距 //然后去更改...
来源: Laya_社区 发布时间: 20190224
...se 是否可读。 Returns NativeIndexBuffer3D 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/Buffe...
来源: Laya3.0_api 发布时间: 20231115
... b: Vector3 被减向量 out: Vector3 Returns Vector3 writeTo writeTo(arr: Float32Array, offset?: number): void Defined in laya/maths/Vector3.ts:403 写入Array数组 Parameters arr: Float32Array 数组。 Default value offset: number = 0 数组偏移。 Returns void Static Clamp Clamp(value: Vector...
来源: Laya3.0_api 发布时间: 20231115
...e 是否可读。 Returns NativeVertexBuffer3D 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/Buffe...
来源: Laya3.0_api 发布时间: 20231115