大约有 35 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
...wManager.getInstance().ShowView(contant.loginId); } public SwictMap(index: number):void { var mapName="res/img/map/"+index; this.mapImg.loadImage(mapName); } } 附件 : --> 2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20171124
...是否激活。 Node align : String水平对齐方式FontClip alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent ancho...
来源: Laya2.0_api 发布时间: 20190513
...用认证信息(例如cookie或授权的header)。 默认为 false timeout number 请求超时时间 2,方法 abort() 如果请求已经被发送,则立刻中止请求。 getAllResponseHeaders() 返回所有响应头信息(响应头名和值), 如果响应头还没接受,则返回null。 getResp...
来源: Laya3.0_文档 发布时间: 20250104
...36 水平对齐方式 Parameters v: string Returns void alpha get alpha(): number set alpha(value: number): void Inherited from Text.alpha Defined in laya/display/Sprite.ts:1026 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Returns number Inherited from...
来源: Laya3.0_api 发布时间: 20231115
...teZOrder fromImage Constructors constructor new Clip(url?: string, clipX?: number, clipY?: number): Clip Overrides UIComponent.constructor Defined in laya/ui/Clip.ts:151 创建一个新的 Clip 示例。 Parameters Default value url: string = null 资源类库名或者地址 Default value clipX: num...
来源: Laya3.0_api 发布时间: 20231115
...虑尺寸的平方 OrientedBoundBox intersectsRay(ray:Ray, out:Vector3):Number 该包围盒是否与空间中另一射线相交 OrientedBoundBox merge(a:OrientedBoundBox, b:OrientedBoundBox, noMatrixScaleApplied:Boolean):void[static] 把一个Obb类型的包围盒b合入另一Obb型包围盒a ...
来源: Laya2.0_api 发布时间: 20190513
...atic createFromMeshAndHeightMap(mesh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name: string = null): MeshTerrainSprite3D { var meshTerrainSprite3D: MeshTerrainSprite3D = new MeshTerrainSprite3D(mesh, null, name); meshTerrainSprite3D._initCreateFromMeshHeightMap(texture, minHei...
来源: Laya3.0_文档 发布时间: 20230303
...({ output: { }, numWorkers:1,//Amount of workers to spawn. Defaults to the number of CPUs minus 1 sourcemap: false })*/ ] }).then(bundle => { return bundle.write({ file: workSpaceDir + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false }); }).catch(err=>{ console.log(err); }) ...
来源: Laya_社区 发布时间: 20200607
... * @param percent 位置和大小是否是百分比值。 */ drawRect(x: number, y: number, width: number, height: number, fillColor: any, lineColor: any = null, lineWidth: number = 1, percent?: boolean): DrawRectCmd { return this.addCmd(DrawRectCmd.create(x, y, width, height, fillColor, lineColor, ...
来源: Laya3.0_文档 发布时间: 20251010
...ntext || Laya.Browser.window.webkitAudioContext)(); //Stereo var channels: number = 2; // Create an empty two-second stereo buffer at the // sample rate of the AudioContext var frameCount: number = audioCtx.sampleRate * 2.0; var myArrayBuffer: any = audioCtx.createBuffer(2, frameCount, audioCtx.samp...
来源: Laya3.0_文档 发布时间: 20251010