大约有 1,451 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0046 秒)
Laya3.0_api(470) Laya_社区(447) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(63) laya_api(58)
...的中心。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_示例 发布时间: 20251219
...extends Laya.Script { private skin: string = "atlas/comp/colorPicker.png"; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skin).then( ()=>{ this.onColorPickerSkinLoaded(); } ...
来源: Laya3.0_文档 发布时间: 20251010
..._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
...laya2.6. export default class SceneLoad extends Laya.Script{ constructor(){ super(); } onAwake(){ Laya.Scene3D.load("res/LayaScene_demo/Android/demo.ls",Laya.Handler.create(this,function(scene){ Laya.stage.addChild(...
来源: Laya_社区 发布时间: 20200516