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

大约有 3,031 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)

711. 显示与切换图片(ActionScript-LayaAir基础篇(AS3)-位图) [ 74%]

...编写代码如下: ```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

712. laya.utils.CacheManger [ 73%]

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

713. 获取不到父物体 节点 [ 73%]

...库 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

714. UI-Label [ 73%]

...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

715. Laya3D [ 73%]

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

716. 怎样才能找到那个MyTestView类,命名空间问题 [ 73%]

... 提交 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

717. laya.d3.math.Viewport_API3.0 [ 73%]

...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

718. laya.d3.resource.models.SkyBox [ 73%]

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

719. laya.d3.core.particleshuriken.module.FrameOverTime_API3.0 [ 73%]

...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

720. laya.display.cmd.DrawPathCmd [ 73%]

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