大约有 1,448 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0047 秒)
Laya3.0_api(470) Laya_社区(446) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(61) laya_api(58)
...read-only] [override] Implementation public function get source():*Constructor DetailSolidColorTexture2D()Constructorpublic function SolidColorTexture2D(color:Vector4) 创建一个 SolidColorTexture2D 实例。 Parameters color:Vector4Method DetaildetoryResource()methodoverride protected fun...
来源: laya_api 发布时间: 20170929
...s.Handler; import Loader=laya.net.Loader; // 程序入口 class GameMain { constructor() { Laya.init(600, 400); Laya.stage.scaleMode = Laya.Stage.SCALE_EXACTFIT; Laya.stage.screenMode = Laya.Stage.SCREEN_VERTICAL; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDD...
来源: Laya_社区 发布时间: 20171227
...的中心。radiusproperty public var radius:Number包围球的半径。Constructor DetailBoundSphere()Constructorpublic function BoundSphere(center:Vector3, radius:Number) 创建一个 BoundSphere 实例。 Parameters center:Vector3 — 包围球的中心。 radius:Number — 包围球的半径...
来源: laya_api 发布时间: 20170929
...er = Laya.Handler; export class Onloading extends ui.LoadingUI{ constructor(){ super(); this.loadingBar.changeHandler = new Handler(this, this.onChange); } public changeValue():void{ console.log("change"); if (this.loadingBar.value >= 1){ ...
来源: Laya_社区 发布时间: 20180524
...a.WebGL; export class TiledMap_AnimationTile { private tiledMap: TiledMap; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(1100, 800, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgC...
来源: Laya_示例 发布时间: 20250313
..._STATE,有什么用能不能去掉。 TypeError: Laya.MovieClip is not a constructor 问题状态 最新活动: 2021-02-24 11:37 浏览: 710 关注: 5 人
来源: Laya_社区 发布时间: 20200401
... private _upVector3:Laya.Vector3 = new Laya.Vector3(0, 1, 0); constructor() { this._upVector3 = new Laya.Vector3(0, 1, 0); Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Lay...
来源: Laya_社区 发布时间: 20190531
...11.swf"; private MCWidth:number = 760; private MCHeight:number = 650; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(760,650, WebGL); Laya.stage.frameRate = Stage.FRAME_SLOW; Stat.show(0,0); this.createMovieClip(); } private createMovieClip():void{ var mc:MovieClip = new Mov...
来源: Laya_社区 发布时间: 20171103
...的TestScene.scene文件 export default class GameUI extends Laya.Scene { constructor() { super(); //设置单例的引用方式,方便其他类引用 GameUI.instance = this; //关闭多点触控,否则就无敌了 Laya.MouseManager.multiTouchEnabled = false; //加载场景文件 this.loadScene(...
来源: Laya_社区 发布时间: 20190730
...createChildren函数里面去。 class MyView extends ui.view.MyViewUI { constructor() { super(); } createChildren():void { super.createChildren(); let assets = [ { url: "res/atlas/ui/shared.atlas", type: Loader.ATLAS }, { url: "res/atlas/ui/myview.atlas", type: Loader.ATLAS }, { url: "view/MyView.j...
来源: Laya_社区 发布时间: 20180113