大约有 94 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0032 秒)
...on(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Overrides BaseShape.generatePositionAndDirection Defined in laya/d3/core/particleShuriKen/module/shape/CircleShape.ts:78 用于生成粒子初始位置和方向。 override Parameters position: Vector3 粒子位...
来源: Laya3.0_api 发布时间: 20231115
...实现drawTriangles(texture:Texture, x:number, y:number, vertices:Float32Array, uvs:Float32Array, indices:Uint16Array, matrix:Matrix = null, alpha:number = 1, color:string = null, blendMode:string = null)这个问题下一版会修改。 2019-07-05 1 1 分享 微博 QZONE 微信 为什么被折叠? ...
来源: Laya_社区 发布时间: 20190704
...on(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Overrides BaseShape.generatePositionAndDirection Defined in laya/d3/core/particleShuriKen/module/shape/ConeShape.ts:89 用于生成粒子初始位置和方向。 override Parameters position: Vector3 粒子位置...
来源: Laya3.0_api 发布时间: 20231115
...indBoneBoneSlotDic : Object 绑定插槽数据的字典 Templet boneSlotArray : Array 存放插糟数据的数组 Templet boneSlotDic : Object 存放插槽数据的字典 Templet deformAniArr : Array 顶点动画数据 Templet drawOrderAniArr : Array 渲染顺序动画数据 Templet e...
来源: laya_api 发布时间: 20170929
...// 2π const twoPi = Math.PI * 2; // 顶点数组 let vertexs = new Float32Array((numSegments + 1) * 5); // 索引数组 let index = new Uint16Array((numSegments + 1) * 3); var pos = 0; // 生成圆周上的顶点 for (let i = 0; i < numSegments; i++, pos += 5) { const angle = twoPi * i / numSegm...
来源: Laya3.0_文档 发布时间: 20251120
...aya/display/cmd/DrawTrianglesCmd.ts:55 颜色变换 indices indices: Uint16Array Defined in laya/display/cmd/DrawTrianglesCmd.ts:38 顶点索引。 matrix matrix: Matrix | null Defined in laya/display/cmd/DrawTrianglesCmd.ts:42 缩放矩阵。 texture texture: Texture | null Defined in laya/display/...
来源: Laya3.0_api 发布时间: 20231115
...林:现在可以了,就是这样的代码: customNormalMesh(vertArr: Array<number>, faceArr: Array<number>, normalArr: Array<number>) { const verticeArr = new Array<number>(); for (let i = 0; i < vertArr.length; i += 3) { verticeArr.push(vertArr[i], vertArr[i + 1], ver...
来源: Laya_社区 发布时间: 20180522
...._upload) { ib.conch_id = CanvasRenderingContext2D.ID++; ib.conchRef = new ArrayBufferRef(); ib.conchRef.id = ib.conch_id; _.needsz(16); _.wu32(0); _.wu32(11); _.wu32(ib.conch_id); _.wu32(ib.length * 2); ib.buffer = new Uint16Array(ib); _.wab(ib.buffer, ib.length * 2); ib._upload = true; } if (vb.co...
来源: Laya_社区 发布时间: 20190806
...e(key: any, cacheDatas: any, aniIndex: number, frameIndex: number): Float32Array Defined in laya/ani/AnimationTemplet.ts:216 获取动画信息数据 Parameters key: any cacheDatas: any aniIndex: number frameIndex: number Returns Float32Array getNodeCount getNodeCount(aniIndex: number): number Defin...
来源: Laya3.0_api 发布时间: 20231115
...s.socket = new WebSocket("ws://localhost:8080"); this.socket.binaryType = "arraybuffer"; // 连接成功时发送测试消息 this.socket.onopen = () => { console.log("WebSocket connected"); // 发送 ChatMessage 类型的打招呼消息,user 字段表示消息发送者的用户名。message ...
来源: Laya3.0_文档 发布时间: 20251010