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

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

2731. webgl 下当对象子显示对象存在panel且panel有子集时,旋转此显示对象会导致此显示对象的同级对象消失!(1.7.10beta) [ 42%]

...nH = Laya.Stage.ALIGN_CENTER; Laya.loader.load([{url:"res/atlas/comp.json",type:Laya.Loader.ATLAS}],Laya.Handler.create(this,this.loadComp)); } private loadComp():void{ var parent:ui.ParentViewUI = new ui.ParentViewUI(); Laya.stage.addChild(parent); //当注释掉设置rotaion的代码则没有问...

来源: Laya_社区 发布时间: 20170829

2732. 2D物理-仿生机器人 [ 42%]

...ir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_Strandbeests { constructor() { this.scale = 2.5; this.pos = [500, 400]; this.m_offset = [0, -80 * this.scale]; this.pivot = [0, 8 * thi...

来源: Laya2.0_示例 发布时间: 20260303

2733. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 42%]

...ow.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); ``` 怎么运行呢?打开谷歌浏览器,随便打...

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

2734. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 42%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Utils&class=laya.utils.Tween) `Ease`类的API中对缓动函数进行了基础的介绍,点击链接可直接查看API:[https://layaair.ldc.layabox.com/api/?category=Core&class=laya.utils.Ease](https://...

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

2735. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 42%]

...小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持...

来源: Laya_社区 发布时间: 20240305

2736. laya.d3.component.animator.Animator_API3.0 [ 42%]

...ol setParamsNumber setParamsTrigger AnimatorParams Legend Class Class with type parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface Static property

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

2737. HScrollBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 42%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.HScrollBar)。 ​ HScrollBar 组件的图像资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ ![图片0.png](img/2.png) ​ (图2) ​ ![图片0.png](img/3.png) ​ (图...

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

2738. 使用Laya.loader.load加载Laya.Loader.FONT位图字体文件时就会出现无限循环加载,一直到浏览器奔溃 [ 42%]

...dler;   Laya.loader.load([{     url: ['res/bitmapFont/test.fnt'],     type: Laya.Loader.FONT }], Handler.create(this, () => {             console.log('bitmapFont loaded');                          this.onFontLoaded();         }), Handler.create(this, (progress) => {...

来源: Laya_社区 发布时间: 20190221

2739. VScrollBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 42%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VScrollBar)。 ​ VScrollBar 组件的图像资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ ![图片0.png](img/2.png) ​ (图2) ​ ![图片0.png](img/3.png) ​ (图...

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

2740. ComboBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 42%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ComboBox)。 ​ ComboBox 组件的图像资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ 设置 ComboBox 的属性 labels 的值为 “label1,label2” 后,显示效果如...

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