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

大约有 2,982 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0061 秒)

1041. laya.d3.core.render.BloomEffect_API3.0 [ 68%]

...s Only exported Menu Globals "laya/d3/core/render/BloomEffect" BloomEffect Class BloomEffect BloomEffect 类用于创建泛光效果。 Hierarchy PostProcessEffect BloomEffect Index Constructors constructor Properties clamp color dirtTexture fastMode Accessors active anamorphicRatio diffusion dirtIn...

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

1042. TypeError: Cannot read property 'GetType' of null [ 68%]

...t TypeError: Cannot read property 'props' of undefined Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constru...

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

1043. 音频节点 · LayaAir3.0文档 · LAYABOX [ 68%]

...下面给出一个示例代码,实现脚本控制SoundNode: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.SoundNode }) public sound: Laya.SoundNode; constructor() { super(); } /** * 组件被...

来源: Laya3.0_文档 发布时间: 20230628

1044. 绘制图形的BUG [ 68%]

...kage ui.test { import laya.display.Sprite; import laya.utils.Tween; public class MyBox extends Sprite { private var _shape:Sprite; public function MyBox() { super(); graphics.drawRect(0,0,200,200,"#00ff00"); _shape=new Sprite(); _shape.graphics.drawCircle(0,0,20,"#ff0000"); addChild(_shape); //加...

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

1045. IDE-显示IDE创建的界面 [ 68%]

... = Laya.Label; import Handler = Laya.Handler; import Loader = Laya.Loader; class TestUI extends game.ui.test.TestPageUI { constructor() { super(); //btn是编辑器界面设定的,代码里面能直接使用,并且有代码提示 this.btn.on(Laya.CLICK, this, this.onBtnClick); this.btn2.on(Laya....

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

1046. IDE-显示IDE创建的界面 [ 68%]

... = Laya.Label; import Handler = Laya.Handler; import Loader = Laya.Loader; class TestUI extends game.ui.test.TestPageUI { constructor() { super(); //btn是编辑器界面设定的,代码里面能直接使用,并且有代码提示 this.btn.on(Laya.CLICK, this, this.onBtnClick); this.btn2.on(Laya....

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

1047. laya.utils.Timer_API3.0 [ 68%]

...ll Inherited Externals Only exported Menu Globals "laya/utils/Timer" Timer Class Timer Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Hierarchy Timer Index Constructors constructor Properties currFrame currTimer scale Accessors delta M...

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

1048. Uncaught TypeError: Failed to execute 'dispatchEvent' on 'EventTarget [ 68%]

... scene:GameView.scene undefined 脚本重命名后报Uncaught Can not find class 错误 Uncaught Can not find class srcipt/game/Game_App.ts 导出微信报错Uncaught (in promise) gameThirdScriptError 问题状态 最新活动: 2017-03-07 11:12 浏览: 1033 关注: 2 人 cuixueying • 2017-03-07 21...

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

1049. List数据源的格式问题导致无法响应List的SelectHandler [ 68%]

...ush(skillInfoVO); } list.array = temp;2、SkillInfoVO的相关代码public class SkillInfoVO extends Data { public var Lv:int; public var Name:String; public var Color:int; }3、Data的相关代码public class Data extends EventDispatcher { public function Data() { } protected function dataSourceCha...

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

1050. Image属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 68%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Image)。 ​ **Image 组件的资源示例:** ​ ![图片0.png](img/1.png) ​ (图1) ​ **Image 组件拖放到编辑区后显示效果:** ​ ![图片0.png](img/2.png) ​ (图2) ### 1.2 Image ...

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