大约有 363 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0072 秒)
Laya_社区(100) Laya3.0_api(65) Laya2.0_api(58) laya_api(54) Laya3.0_文档(23) Laya2.0_示例(21) Laya2.0_文档(21) Laya_示例(21)
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count...
来源: Laya3.0_api 发布时间: 20231115
...reUrl); ape.graphics.drawTexture(texture, 0, 0); // 设置交互区域 ape.size(texture.width, texture.height); } })(); ``` 代码运行效果如图7-2所示。 ![动图7-2](img/7-2.gif) (动图7-2)
来源: Laya2.0_文档 发布时间: 20210715
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count...
来源: Laya3.0_api 发布时间: 20231115
...值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...
来源: laya_api 发布时间: 20170422
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniMode animationName blendMode cacheAs components customRenderEnable destroyed displayHe...
来源: Laya3.0_api 发布时间: 20231115
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed...
来源: Laya3.0_api 发布时间: 20231115
...er-spacing:10px;` | 字间距 | | `font-family:宋体;` | 字体 | | `font-size:20px;` | 字体大小 | | `font-weight:bold;` | 字体是否是粗体,功能同bold | | `color:#ff0000;` | 字体颜色 | | `stroke:2px;` | 字体描边宽度 | | `strokeColor:#ff0000;` | 字体描边颜色 | | `paddin...
来源: Laya2.0_文档 发布时间: 20210715
...:Perspective透视(Field of View视野范围),Orthographic正交(size视野大小)) | | Clipping Planes(剪裁平面) | 支持(包括:Near近点、Far远点) | | Viewport Rect(标准视图矩形) | 支持(包括:X、Y、W、H) | | Allow HDR(允许渲染高动态...
来源: Laya2.0_文档 发布时间: 20210714
...数组:["a.png","b.png"];复杂数组[{url:"a.png",type:Loader.IMAGE,size:100,priority:1},{url:"b.json",type:Loader.JSON,size:50,priority:1}]。 Default value complete: Handler | null = null 加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资...
来源: Laya3.0_api 发布时间: 20231102
...tra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable ...
来源: Laya3.0_api 发布时间: 20231115