大约有 850 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0072 秒)
Laya_社区(460) Laya3.0_api(77) laya_api(70) Laya2.0_api(64) Laya3.0_文档(53) Laya2.0_文档(50) Laya2.0_示例(39) Laya_示例(37)
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url 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
...ource = "resources/role.atlas"; //接收动画数据源为图集 Animation.size(600, 275); //设置节点大小 Animation.interval = 100; //动画播放的帧间隔时间为100毫秒 Animation.autoPlay = true; //开启自动播放 Animation.wrapMode = 2; //播放模式为pingpong播放模式(PINGP...
来源: Laya3.0_文档 发布时间: 20251010
...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
...数组:["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
... 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_示例 发布时间: 20251209
...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