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

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

1301. UI-Clip [ 64%]

...clipSkin = "res/ui/num0-9.png", bgSkin = "res/ui/coutDown.png", currFrame; class UI_Clip { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage....

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

1302. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 64%]

... <code>Component3D</code> 类用于创建组件的父类。 */ class Component3D extends laya.events.EventDispatcher implements laya.d3.core.render.IUpdate { protected static _uniqueIDCounter: number; protected _id: number; protected _cachedOwnerLayerMask: number; protected _cachedOwnerE...

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

1303. laya.d3.graphics.VertexPositionNormalColorTexture0Texture1SkinTangent [ 64%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTexture0Texture1SkinTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTexture0Texture1SkinTangentInheritanceVertexPositionNormalColorTexture0Texture1Sk...

来源: laya_api 发布时间: 20170929

1304. 鼠标交互-修正交互区域 [ 64%]

...cript三种开发语言、LayaAirIDE让项目开发更高效。let logger; class Interaction_FixInteractiveRegion { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Brow...

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

1305. conch.config.getUsedMem() 安卓包中 定时运行报错 [ 64%]

...rt: art/runtime/indirect_reference_table.cc:113] 510: 0x6fc37838 java.lang.Class<java.lang.String> 03-22 13:52:03.749 15130-15218/com.xmvigor.shyxcs A/art: art/runtime/indirect_reference_table.cc:113] 509: 0x131f4ae0 java.lang.String "682464.0" 03-22 13:52:03.749 15130-15218/com.xmvigor.shyxcs...

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

1306. 使用webgl之后toDataUrl返回黑色的图像 [ 64%]

...,以及http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.display.Sprite#drawToCanvas() 这片文档,我使用以下代码应该ok   Laya.stage.getChildAt(0).drawToCanvas(100, 100, 0, 0).getCanvas().toDataURL(); 但在WebGL的模式下,实现在laya.core.js的20644行...

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

1307. Sprite-容器 [ 64%]

...ya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Container { // 该容器用于装载4张猩猩图片 private apesCtn: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alig...

来源: Laya_示例 发布时间: 20251219

1308. ComboBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 64%]

....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_文档 发布时间: 20210715

1309. 3D场景-地形场景 [ 64%]

...ByName('Scenes').getChildByName('Area'); meshSprite3D1.active = false; }); class TerrainScene { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(Laya.Sc...

来源: Laya_示例 发布时间: 20251219

1310. laya.maths.Matrix3x3_API3.0 [ 64%]

...ited Externals Only exported Menu Globals "laya/maths/Matrix3x3" Matrix3x3 Class Matrix3x3 Matrix3x3 类用于创建3x3矩阵。 Hierarchy Matrix3x3 Implements IClone Index Constructors constructor Properties elements DEFAULT Methods clone cloneTo determinant identity invert rotate scale translate t...

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