大约有 144 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)
.../从碰撞信息中获取碰撞处的三角面顶点 var trianglePositions:Array<any>= this.hit.trianglePositions; //矢量绘制三角面边线 this.phasorSprite3D.line(trianglePositions[0], new Laya.Vector4(1,0,0,1), trianglePositions[1], new Laya.Vector4(1,0,0,1)); this.phasorSprite3D.line(...
来源: Laya_社区 发布时间: 20181020
...rial.ts:123 渲染质量。 Accessors MaterialDefine get MaterialDefine(): Array<string> Inherited from Material.MaterialDefine Defined in laya/d3/core/material/Material.ts:373 获得材质宏 Returns Array<string> MaterialProperty get MaterialProperty(): any Inherited from Material.Mate...
来源: Laya3.0_api 发布时间: 20231115
...c drawTextures () method public function drawTextures(tex:Texture, pos:Array):void批量绘制同样纹理。 Parameters tex:Texture — 纹理。 pos:Array — 绘制次数和坐标。 请教第二个参数pos的具体格式 是带着s的drawTextures,批量绘制同样纹理。 是...
来源: Laya_社区 发布时间: 20170405
...资源的函数内的代码 1 2 3 4 5 6 7 8 loadPosition():void{ /* let resArray:Array<any>=[ {url:"eyeimf.txt",type:Laya.Loader.TEXT} ] Laya.loader.load(resArray,Laya.Handler.create(this,this.Onloaded),null,Laya.Loader.TEXT,0,true,null,true);*/ let event1=Laya.loader.load("eyeimf.txt", Laya.H...
来源: Laya_社区 发布时间: 20171228
...url: string, data?: any, method?: string, responseType?: string, headers?: Array<any>): void; 这个发送的时候加入header,header里面的key-value如果key是固定的命名吗?如果value值是"Access-Control-Allow-Origin: *",那key对应的是哪个呀? 15818760256 ...
来源: Laya_社区 发布时间: 20180208
...this, this.onMouse) } onOpened(param: any) { super.onOpened(param); let imgArray = ; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as ...
来源: Laya_社区 发布时间: 20171202
...n 的createFrames 使用已经加载的图集缓存动画失败 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 导微信小程序...
来源: Laya_社区 发布时间: 20180120
... null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; private _shurikenParticleSystem: Array<ShurikenParticleSystem>= []; constructor() { super(); } //通过传入粒子特效的路径,创建一个粒子特效,从对象池里拿一...
来源: Laya3.0_文档 发布时间: 20251010
... null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; private _shurikenParticleSystem: Array<ShurikenParticleSystem>= []; constructor() { super(); } //通过传入粒子特效的路径,创建一个粒子特效,从对象池里拿一...
来源: Laya3.0_文档 发布时间: 20250104
...this, this.onMouse) } onOpened(param: any) { super.onOpened(param); let imgArray = []; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") a...
来源: Laya_社区 发布时间: 20181112