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

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

1091. 能不能让LayaFlash支持原生的条件编译 [ 68%]

...n.swf", mimeType="application/octet-stream")]     private const _Ui_SWF:Class;   } CONFIG::en{     [Embed(source="ui_en.swf", mimeType="application/octet-stream")]     private const _Ui_SWF:Class; } 3.这样就表示英文版本我只嵌入英文的ui_en.swf 如果使用现有的宏编译...

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

1092. laya.d3.component.animation.UVAnimations [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames UVAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class UVAnimationsInheritanceUVAnimations KeyframeAnimations Component3D EventDispatcher Object UVAnimations 类用于创建UV动...

来源: laya_api 发布时间: 20170603

1093. laya.d3.core.Gradient [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientProperties | Methods Packagelaya.d3.coreClasspublic class GradientInheritanceGradient ObjectImplements laya.d3.core.IClone Gradient 类用于创建颜色渐变。 Public Properties PropertyDefined By  colorAlp...

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

1094. laya.ui.View [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ViewProperties | Methods | Events Packagelaya.uiClasspublic class ViewInheritanceView Box Component Sprite Node EventDispatcher ObjectSubclasses Dialog View 是一个视图类。 Public Properties Hide Inherited Public ...

来源: laya_api 发布时间: 20170929

1095. laya.media.SoundChannel_API3.0 [ 68%]

...xternals Only exported Menu Globals "laya/media/SoundChannel" SoundChannel Class SoundChannel SoundChannel 用来控制程序中的声音。每个声音均分配给一个声道,而且应用程序可以具有混合在一起的多个声道。 SoundChannel 类包含控制声音的播放、暂停、...

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

1096. 3D场景-场景加载 [ 68%]

...ad("../../res/threeDimen/skyBox/skyBox2/skyCube.ltc"); camera.sky = skyBox;class SceneLoad { 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.Scene...

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

1097. 加载-单一类型资源加载 [ 68%]

...ader; import Texture = Laya.Texture; import Handler = Laya.Handler; export class Loader_SingleType { constructor() { Laya.init(550, 400); // 加载一张png类型资源 Laya.loader.load("../../res/apes/monkey0.png", Handler.create(this, this.onAssetLoaded1)); // 加载多张png类型资源 Laya.load...

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

1098. 问一下这个问题要怎么改啊? [ 68%]

....resource.Texture; import laya.ui.Image; import laya.utils.Handler; public class addPic { private var picUrl:String; private var pic:Sprite; private var picX:int; private var picY:int; public function addPic(str:String, x:int, y:int) { picUrl = str; picX = x; picY = y; Laya.loader.load(picUrl, Handl...

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

1099. 模仿教程里的打地鼠写的代码,运行报错 [ 68%]

...function (_super) { function background() { background.super(this); } Laya.class(background,"background",_super); return background; })(ui.backgroundUI);backgound.ui也在场景编辑器里编辑并导出了。   然后运行的时候就会出错如下图   求解答 附件 : --> 2018-01-29 添加...

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

1100. laya.events.MouseManager [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MouseManagerProperties | Methods | Constants Packagelaya.eventsClasspublic class MouseManagerInheritanceMouseManager Object MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶...

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