大约有 368 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0072 秒)
Laya_社区(102) Laya3.0_api(65) Laya2.0_api(58) laya_api(54) Laya3.0_文档(26) Laya2.0_示例(21) Laya2.0_文档(21) Laya_示例(21)
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize closeEffectHandler hitTestPrior lockLayer maskLayer mouseThrough name popupEffectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components cu...
来源: Laya3.0_api 发布时间: 20231115
...置2D区域节点的位置和大小 this.area2D.pos(100, 100); this.area2D.size(200, 200); this.owner.addChild(this.area2D); //创建2D相机 this.camera2D = this.area2D.addChild(new Laya.Camera2D); //开发者可以根据需求自行设置相机的各项属性,例如: //将相机设为主相机...
来源: Laya3.0_文档 发布时间: 20251010
...值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为...
来源: laya_api 发布时间: 20170929
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize basePath hitTestPrior interval loop mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed di...
来源: Laya3.0_api 发布时间: 20231115
...值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...
来源: Laya2.0_api 发布时间: 20190513
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight dis...
来源: Laya3.0_api 发布时间: 20231102
...值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为...
来源: laya_api 发布时间: 20170929
...值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...
来源: laya_api 发布时间: 20170929
...数组:["a.png","b.png"];复杂数组[{url:"a.png",type:Loader.IMAGE,size:100,priority:1},{url:"b.json",type:Loader.JSON,size:50,priority:1}]。 complete:Handler (default = null) — 加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资源地...
来源: Laya2.0_api 发布时间: 20190513
...) 基础属性 功能说明 位置 Position 精灵的位置坐标 宽高 Size 精灵的宽高 锚点 Anchor 精灵的锚点 缩放 Scale 精灵的缩放 倾斜 Skew 精灵的倾斜角度 旋转 Rotation 精灵的旋转度 可见 Visible 精灵是否可见 透明度 Alpha 精灵的透明度 我们...
来源: Laya3.0_文档 发布时间: 20251010