大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1043) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(76)
...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
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
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
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
...xternals Only exported Menu Globals "laya/media/SoundChannel" SoundChannel Class SoundChannel SoundChannel 用来控制程序中的声音。每个声音均分配给一个声道,而且应用程序可以具有混合在一起的多个声道。 SoundChannel 类包含控制声音的播放、暂停、...
来源: Laya3.0_api 发布时间: 20231115
...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
...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
....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
...function (_super) { function background() { background.super(this); } Laya.class(background,"background",_super); return background; })(ui.backgroundUI);backgound.ui也在场景编辑器里编辑并导出了。 然后运行的时候就会出错如下图 求解答 附件 : --> 2018-01-29 添加...
来源: Laya_社区 发布时间: 20180129
API DocumentationAll Packages | All Classes | Index | Frames No Frames MouseManagerProperties | Methods | Constants Packagelaya.eventsClasspublic class MouseManagerInheritanceMouseManager Object MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶...
来源: Laya2.0_api 发布时间: 20190513