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

大约有 3,008 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0063 秒)

2561. 微信小游戏关系链 我创建了一个开放域的项目 但是报错了 [ 44%]

...ld(this.img); this.setImg = function (src) { this.img.skin = src; } } Laya.class(RankListItem, "RankListItem", Laya.Box); //rankList var rankList = new Laya.List(); rankList.itemRender = RankListItem; rankList.repeatX = 1; rankList.repeatY = 4; // 使用但隐藏滚动条 rankList.vScrollBarSkin = "...

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

2562. laya.resource.RenderTextureCube_API3.0 [ 44%]

... exported Menu Globals "laya/resource/RenderTextureCube" RenderTextureCube Class RenderTextureCube SpotLight 类用于创建RenderTextureCube。 Hierarchy RenderTexture RenderTextureCube Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget _r...

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

2563. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 44%]

...ed Menu Globals "laya/d3/WebXR/core/WebXRRenderTexture" WebXRRenderTexture Class WebXRRenderTexture author miner 类用来创建WebXRRenderTexture Hierarchy RenderTexture WebXRRenderTexture Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget...

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

2564. 滤镜的集中实现 [ 44%]

...hengxi 感谢,仿照楼主写了个as3版本的。这里贴出来 public class FilterTest { public function FilterTest() { //初始化引擎 Laya.init(1110, 1110,WebGL); //设置舞台背景色 Laya.stage.bgColor="#fffff"; //加载资源 Laya.loader.load("res/atlas/comp.json",Handler.create(this,c...

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

2565. 加载TiledMap 不显示 [ 44%]

... import Handler = Laya.Handler; import WebGL = Laya.WebGL;  export class TiledMap_IsometricWorld {     private tiledMap: TiledMap;     private layer: MapLayer;     private sprite: Sprite;      constructor ()     {         // 不支持WebGL时自动切换...

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

2566. 屏幕方向:自动横屏与自动竖屏的设置详解(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 44%]

...x.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Stage),找到screenMode属性。如图1所示。 ![图1](img/1-1.png) (图1) #### 1.1 默认值none或者不设置screenMode属性 默认值none或者不设置screenMode属性时,无论屏幕方向如...

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

2567. Clip属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 44%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Clip) ​ Clip 组件的资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ 设置 clipX 属性的值为10后的显示效果: ​ ![图片0.png](img/2.png) ​ (图2) ​ 设置 index 属性...

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

2568. laya.html.dom.HTMLDivElement [ 44%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames HTMLDivElementProperties | Methods | Events Packagelaya.html.domClasspublic class HTMLDivElementInheritanceHTMLDivElement Sprite Node EventDispatcher ObjectSubclasses HTMLIframeElement HTML图文类,用于显示html...

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

2569. laya.ui.Dialog [ 44%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames DialogProperties | Methods | Events | Constants Packagelaya.uiClasspublic class DialogInheritanceDialog View Box Component Sprite Node EventDispatcher ObjectSubclasses AsynDialog Dialog 组件是一个弹出对话框...

来源: laya_api 发布时间: 20170929

2570. laya.display.Node [ 44%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames NodeProperties | Methods | Events Packagelaya.displayClasspublic class NodeInheritanceNode EventDispatcher ObjectSubclasses ComponentNode, Sprite Node 类是可放在显示列表中的所有对象的基类。该显示...

来源: laya_api 发布时间: 20170929