• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 449 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0073 秒)

331. laya.display.Animation_API3.0 [ 46%]

...tion_Example { public function Animation_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation...

来源: Laya3.0_api 发布时间: 20231115

332. HttpRequest详解(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 46%]

...时为 `null`**只读。** | | responseType | XMLHttpRequestResponseType | 设置该值能够改变响应类型。就是告诉服务器你期望响应格式。 | | status | `unsigned short` | 该请求响应状态码 (例如, `状态码`200 表示一个成功请求).**只读.** | | `statusT...

来源: Laya2.0_文档 发布时间: 20210715

333. laya.ui.ScaleBox [ 46%]

...Component Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

来源: Laya2.0_api 发布时间: 20190513

334. AS3与JS混合编码(ActionScript-2D进阶篇(AS3)-扩展模块) [ 46%]

...程即可,LayaAir类库暂时可以忽略,项目启动类这里设置为Main.as ;然后新建一个`require.as`。 require.as 代码如下: ```java package { /*[IF-FLASH-BEGIN]*/ public class require { public function require(path:String) { } } /*[IF-FLASH-END]*/ } ``` ​ 项目启...

来源: Laya2.0_文档 发布时间: 20210715

335. laya.ui.ScrollBar [ 46%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  autoHide : Boolean = false一个...

来源: Laya2.0_api 发布时间: 20190513

336. laya.ui.Label [ 46%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

来源: Laya2.0_api 发布时间: 20190513

337. laya.map.GridSprite_API3.0 [ 46%]

...如果节点需要加载相关皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 aniSpriteArray aniSpriteArray: any[] Defined in laya/map/GridSprite.ts:23 当前GRID包含动画 autoSize autoSize: boolean = fa...

来源: Laya3.0_api 发布时间: 20231115

338. laya.ui.Box [ 45%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

来源: Laya2.0_api 发布时间: 20190513

339. laya.d3.core.light.PointLight [ 45%]

...听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点属性 mouseEnabled 值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAwake():void 组件被激活后执行,此时所有节点和组件均...

来源: Laya2.0_api 发布时间: 20190513

340. laya.d3.resource.TextureCube_API3.0 [ 45%]

...ited from Resource.obsolute Defined in laya/resource/Resource.ts:139 如果设置一个已缓存资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...

来源: Laya3.0_api 发布时间: 20231102