大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...: 我新写了个例子,发现个新问题 import Sprite = Laya.Sprite; class Test extends Sprite{ constructor(){ super(); this._initView(); } private _initView():void { let sprite:Sprite = new Sprite(); sprite.loadImage("res/scene/1001/layer1/qiang.jpg", 100, 100, 100, 100); this.addChild(sprite)...
来源: Laya_社区 发布时间: 20180308
...,有没有遇到的? 子域所有代码 (function () { 'use strict'; class GameConfig { constructor() { } static init() { var reg = Laya.ClassUtils.regClass; } } GameConfig.width = 640; GameConfig.height = 1136; GameConfig.scaleMode = "fixedwidth"; GameConfig.screenMode = "none"; GameConfig.al...
来源: Laya_社区 发布时间: 20200104
API DocumentationAll Packages | All Classes | Index | Frames No Frames ColorProperties | Methods | Constants Packagelaya.d3.mathClasspublic class ColorInheritanceColor ObjectImplements laya.d3.core.IClone Color 类用于创建颜色实例。 Public Properties PropertyDefined By a : Num...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames SkyBoxMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class SkyBoxMaterialInheritanceSkyBoxMaterial BaseMaterial laya.resource.Resource SkyBoxMaterial 类用于实现SkyBoxMaterial材质...
来源: Laya2.0_api 发布时间: 20190513
...ya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_MaxChars { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya...
来源: Laya_示例 发布时间: 20250223
...、打开状态。 arrow.x = 0; arrow.y = 5; this.addChild(arrow); } Laya.class(Item, "Item", Box); var Stage = Laya.Stage; var Tree = Laya.Tree; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400...
来源: Laya_示例 发布时间: 20250223
...ount = function(){ //----- } } Laya.class(FactionListItem,"FactionListItem",FactionMainNodeUI); return FactionListItem; })(); 在一个类里。。我可以用this.这样直接调用方法吗?我现在调用了会报错? 2017-11-27 添加评...
来源: Laya_社区 发布时间: 20171127
API DocumentationAll Packages | All Classes | Index | Frames No Frames ColliderBaseProperties | Methods Packagelaya.physicsClasspublic class ColliderBaseInheritanceColliderBase Component ObjectSubclasses BoxCollider, ChainCollider, CircleCollider, PolygonCollider 碰撞体基类 Public Prop...
来源: Laya2.0_api 发布时间: 20190513
...用请参考 [http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.ui.ViewStack](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ViewStack)。 ## 2、通过LayaAirIDE创建ViewStack组件 ### 2.1 创建ViewStack页面 ##...
来源: Laya2.0_文档 发布时间: 20210715
...enderObjs/NativeOBJ/NativeSkinRenderElementOBJ" NativeSkinRenderElementOBJ Class NativeSkinRenderElementOBJ Hierarchy NativeRenderElementOBJ NativeSkinRenderElementOBJ Implements IRenderElement Index Constructors constructor Properties _nativeObj _owner _shaderInstances _skinnedData Accessors _geome...
来源: Laya3.0_api 发布时间: 20231115