大约有 1,451 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0056 秒)
Laya3.0_api(470) Laya_社区(447) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(63) laya_api(58)
... = 200, VERTICAL_SPACING = 100, xOffset, yOffset, skins; class UI_Button { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.A...
来源: Laya2.0_示例 发布时间: 20251209
... Hierarchy Sprite3D LightSprite DirectionLight PointLight SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedTy...
来源: Laya3.0_api 发布时间: 20231115
...目开发更高效。let logger, keyDownList; class Interaction_Keyboard { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, We...
来源: Laya2.0_示例 发布时间: 20251209
...; public m_ObjectPoolDic:{[key:number]:QueueT<Laya.MeshSprite3D>}={} constructor() { } static getInstance() { return this._instance || (this._instance = new PoolManager()) } //初始化 //加载到内存中创建出来之后添加到这里面 public InitPool(key:number,MeshSprite:Laya.MeshSp...
来源: Laya_社区 发布时间: 20191206
... width = 750; private height = 1334; constructor() { Laya3D.init(this.width, this.height); Laya.stage.setScreenSize(this.width, this.height); Laya.stage.scaleMode = Lay...
来源: Laya_社区 发布时间: 20200119
...L_SPACING = 100, X_OFFSET = 100, Y_OFFSET = 50, skins; class UI_CheckBox { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.A...
来源: Laya2.0_示例 发布时间: 20251209
...语言、LayaAirIDE让项目开发更高效。let skins; class UI_Slider { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.A...
来源: Laya2.0_示例 发布时间: 20251209
...= ["goblin","goblingirl"], mCurrSkinIndex = 0; class Skeleton_ChangeSkin { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebG...
来源: Laya2.0_示例 发布时间: 20251209
...值。strColorproperty public var strColor:String 字符串型颜色值。Constructor DetailColor()Constructorpublic function Color(str:*) 根据指定的属性值,创建一个 Color 类的实例。 Parameters str:* — 颜色值。 Method Detailcreate()method public static function create(str:*)...
来源: laya_api 发布时间: 20170422
... var direction:Vector3方向originproperty public var origin:Vector3原点Constructor DetailRay()Constructorpublic function Ray(origin:Vector3, direction:Vector3) 创建一个 Ray 实例。 Parameters origin:Vector3 — 射线的起点 direction:Vector3 — 射线的方向 Fri Sep 29 2017, 06:34 ...
来源: laya_api 发布时间: 20170929