大约有 3,031 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(108)
...编写代码如下: ```java package { import laya.display.Sprite; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" var img:Sprite = new Sprite(); //加载显示图片,坐标位于100,50 img.loadImage("res/i...
来源: Laya2.0_文档 发布时间: 20210715
API DocumentationAll Packages | All Classes | Index | Frames No Frames CacheMangerProperties | Methods Packagelaya.utilsClasspublic class CacheMangerInheritanceCacheManger Object 对象缓存统一管理类 Public Properties PropertyDefined By loopTimeLimit : int = 2[static] 单次清...
来源: laya_api 发布时间: 20170422
...库 2.2.0beta 新手小白 不明白为什么都是null 的export default class startScene extends Laya.Scene { private sp: Sprite; public constructor() { super(); console.log("startScene"); console.log(Laya.stage.name); console.log(Laya.stage.numChildren); console.log(this.numChildren); console.log...
来源: Laya_社区 发布时间: 20190904
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class UI_Label { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MI...
来源: Laya2.0_示例 发布时间: 20251209
API DocumentationAll Packages | All Classes | Index | Frames No Frames Laya3DMethods PackageTop LevelClasspublic class Laya3DInheritanceLaya3D Object Laya3D 类用于初始化3D设置。 Public Methods MethodDefined By Laya3D() 创建一个 Laya3D 实例。 Laya3D _getMaterialTexture...
来源: laya_api 发布时间: 20170929
... 提交 2 个回复 aaaaaaaaa 赞同来自: cuixueying 已解决 关于class类名可以重名的问题namespace Main.js: import MyTestView = view.test.MyTestView; MyTestView: namespace view.test { export class... } 2017-05-04 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 不是很明...
来源: Laya_社区 发布时间: 20170504
...ited Externals Only exported Menu Globals "laya/d3/math/Viewport" Viewport Class Viewport Viewport 类用于创建视口。 Hierarchy Viewport Index Constructors constructor Properties height maxDepth minDepth width x y _tempViewport Methods cloneTo project set unprojectFromMat unprojectFromWVP Cons...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames SkyBoxProperties | Methods | Constants Packagelaya.d3.resource.modelsClasspublic class SkyBoxInheritanceSkyBox Sky laya.resource.Resource Sky 类用于创建天空盒。 Public Properties Hide Inherited Public Propertie...
来源: laya_api 发布时间: 20170929
...Globals "laya/d3/core/particleShuriKen/module/FrameOverTime" FrameOverTime Class FrameOverTime FrameOverTime 类用于创建时间帧。 Hierarchy FrameOverTime Implements IClone Index Constructors constructor Accessors constant constantMax constantMin frameOverTimeData frameOverTimeDataMax frameOve...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames DrawPathCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawPathCmdInheritanceDrawPathCmd Object 根据路径绘制矢量图形 Public Properties PropertyDefined By brush : Object (可...
来源: Laya2.0_api 发布时间: 20190513