大约有 854 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(461) Laya3.0_api(77) laya_api(70) Laya2.0_api(64) Laya3.0_文档(56) Laya2.0_文档(50) Laya2.0_示例(39) Laya_示例(37)
...参数说明:** Font:导出的位图字体使用的字体。 Size:设置导出的位图字体使用的字体大小。建议在使用时需要多大的字就在此处设置相同大小的字号。 Height:设置字体的拉伸高度,保持默认的100%就可以。 * 注意:...
来源: Laya2.0_文档 发布时间: 20201114
...PixelsData destroyUnusedResources Constructors constructor new TextureCube(size: number, format: TextureFormat, mipmap?: boolean, sRGB?: boolean): TextureCube Overrides BaseTexture.constructor Defined in laya/d3/resource/TextureCube.ts:79 Parameters size: number format: TextureFormat Default value m...
来源: Laya3.0_api 发布时间: 20231102
...值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...
来源: laya_api 发布时间: 20170929
...ResultCall, allowedCcdPenetration); var count = bt.tBtCollisionObjectArray_size(collisionObjects); if (count > 0) { this._collisionsUtils.recoverAllHitResultsPool(); for (var i = 0; i < count; i++) { var hitResult = this._collisionsUtils.getHitResult(); out.push(hitResult); hitResult.succeeded...
来源: Laya_社区 发布时间: 20201017
... static HEI: number = 85; private img: Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Image(); this.addChild(this.img); } public setImg(src: string): void { this.img.skin = src; } } } new laya.UI_List(); ```
来源: Laya2.0_文档 发布时间: 20210715
...reUrl); ape.graphics.drawTexture(texture, 0, 0); // 设置交互区域 ape.size(texture.width, texture.height); } })(); ``` 代码运行效果如图7-2所示。  (动图7-2)
来源: Laya2.0_文档 发布时间: 20210715
...PixelsData destroyUnusedResources Constructors constructor new TextureCube(size: number, format: TextureFormat, mipmap?: boolean, sRGB?: boolean, premultiplyAlpha?: boolean): TextureCube Overrides BaseTexture.constructor Defined in laya/resource/TextureCube.ts:85 Parameters size: number format: Text...
来源: Laya3.0_api 发布时间: 20231115
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawC...
来源: Laya3.0_api 发布时间: 20231102
...以手动输入常用的字体,还可以是位图字体 字体大小 fontSize 文本字体大小,例如: 50,直接填写正整数 单字符渲染 singleCharRender 以字符为单位将文本缓存到共享的贴图中,相同样式字体字号的字符全局共享一份缓存,默认为fal...
来源: Laya3.0_文档 发布时间: 20251010
...值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...
来源: Laya2.0_api 发布时间: 20190513