大约有 3,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0296 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(110)
API DocumentationAll Packages | All Classes | Index | Frames No Frames FrameClipProperties | Methods | Events Packagelaya.uiClasspublic class FrameClipInheritanceFrameClip FrameAnimation AnimationPlayerBase Sprite Node EventDispatcher Object 关键帧动画播放类 Public Properties Hide ...
来源: laya_api 发布时间: 20170422
...ox = Laya.Box; import Image = Laya.Image; import Text = Laya.Text; class Item extends Box { public static WID: number = 400; public static HEI: number =40; private text_guanqia: Text; private text_guanqia_info: Text; private img: I...
来源: Laya_社区 发布时间: 20210122
...方便显示,我们新建一个ui项目。简单的调用接口如下: class LayaUISample { constructor() { //初始化引擎 Laya.init(600,400,Laya.WebGL); //设置Laya提供的worker.js路径 Laya.WorkerLoader.workerPath = "libs/worker.js"; //开启worker线程 Laya.WorkerLoader.enable = true;...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames Matrix4x4Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Matrix4x4InheritanceMatrix4x4 ObjectImplements laya.d3.core.IClone Matrix4x4 类用于创建4x4矩阵。 Public Properties PropertyDefined ...
来源: Laya2.0_api 发布时间: 20190513
...,方法与web发布略有不同,加载代码示例如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均...
来源: Laya3.0_文档 发布时间: 20251010
...nals Only exported Menu Globals "laya/d3/core/light/PointLight" PointLight Class PointLight deprecated PointLight 类用于创建点光。 Hierarchy LightSprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color ...
来源: Laya3.0_api 发布时间: 20231115
...com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Component&class=laya.components.Script ### 三、Runtime与脚本的使用区别 LayaAir的组件化开发,核心就是Runtime类与Script(脚本组件)类的合理运用,生命周期方法的使用。 有不少开发者对IDE...
来源: Laya2.0_文档 发布时间: 20210715
... Externals Only exported Menu Globals "laya/d3/core/BaseCamera" BaseCamera Class BaseCamera BaseCamera 类用于创建摄像机的父类。 Hierarchy Sprite3D BaseCamera Camera Index Constructors constructor Properties _extra _forward _scene _up _url name tag useOcclusionCulling RENDERINGTYPE_DEFERR...
来源: Laya3.0_api 发布时间: 20231115
...ernals Only exported Menu Globals "laya/d3/core/light/SpotLight" SpotLight Class SpotLight deprecated SpotLight 类用于创建聚光。 Hierarchy LightSprite SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color com...
来源: Laya3.0_api 发布时间: 20231115
...gn; import flash.display.StageScaleMode; import flash.events.Event; public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); t...
来源: Laya_社区 发布时间: 20151106