大约有 821 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0081 秒)
Laya_社区(448) Laya3.0_api(77) laya_api(70) Laya2.0_api(64) Laya2.0_文档(50) Laya2.0_示例(39) Laya_示例(37) Laya3.0_文档(36)
...uctor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoPlay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth disp...
来源: 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 autoPlay blendMode cacheAs components customRenderEnable destroyed displayHeight displayW...
来源: Laya3.0_api 发布时间: 20231115
...值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...
来源: laya_api 发布时间: 20170929
...Properties _extra _ownGraphics _scene _skinBaseUrl _url aniSpriteArray autoSize drawImageNum hitTestPrior isAloneObject isHaveAnimation mouseThrough name relativeX relativeY tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs componen...
来源: Laya3.0_api 发布时间: 20231115
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior layerName mouseThrough name tag tarLayer drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeigh...
来源: Laya3.0_api 发布时间: 20231115
... var sp = new Sprite(); Laya.stage.addChild(sp); sp.pos(350 + i * 50, 200).size(40, 40); var rb: RigidBody = sp.addComponent(RigidBody); this.bodys.push(rb); this.touching[i] = false; rb.getBody().SetUserData({pointer: i}); var circleCollider: CircleCollider = sp.addComponent(CircleCollider); circle...
来源: Laya2.0_示例 发布时间: 20241119
...数组:["a.png","b.png"];复杂数组[{url:"a.png",type:Loader.IMAGE,size:100,priority:1},{url:"b.json",type:Loader.JSON,size:50,priority:1}]。 Optional complete: Handler 加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资源地址,如果加...
来源: Laya3.0_api 发布时间: 20231115
...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
...值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...
来源: Laya2.0_api 发布时间: 20190513
...***/ public var img:Image; public function Item() { //设置大小宽高 size(WID, HEI); //实例化图片 img = new Image(); //加载到单元格中 addChild(img); } } ```
来源: Laya2.0_文档 发布时间: 20210715