大约有 1,625 项符合查询结果, 库内数据总量为 30,789 项。 (搜索耗时: 0.0055 秒)
Laya_社区(663) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya_示例(58) Laya3.0_文档(54) Laya2.0_示例(54)
...esh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name: string = null): MeshTerrainSprite3D { var meshTerrainSprite3D: MeshTerrainSprite3D = new MeshTerrainSprite3D(mesh, null, name); meshTerrainSprite3D._initCreateFromMeshHeightMap(texture, minHeight, maxHeight); return meshTerra...
来源: Laya3.0_文档 发布时间: 20230303
...; //this.addChild(this.text); } public setImg(src: string): void { this.img.skin = src; } } /* class Main { constructor() { wx.onMessage(data => { console.log(data); if (data....
来源: Laya_社区 发布时间: 20180507
... private var t_obj:Object; private var url_img:String = "res/"; public function WWJ_Main() { Laya.init(stageWidth, stageHeight); Laya.stage.alignV = Stage.ALIGN...
来源: Laya_社区 发布时间: 20170822
...件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function (): void { var str: String = ""; for (var i: number = 0; i = new Vector.(); private var camera:Camera; private var label:Label; public function RayPicking01() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMo...
来源: Laya_示例 发布时间: 20241127
...ss Texture2dTest { private sprite3D:Laya.Sprite3D; private readonly AllPng:string[] = ["pic-001.png","output-06.png"]; private texture:Laya.Texture2D; private box; constructor(){ Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Sta...
来源: Laya_社区 发布时间: 20220815
...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean destroyed...
来源: Laya3.0_api 发布时间: 20231102
...teLabel, [cb]); this.updateLabel(cb); } } } } private createCheckBox(skin: string): Laya.CheckBox { let cb: Laya.CheckBox = new Laya.CheckBox(skin); this.owner.addChild(cb); cb.labelColors = "white"; cb.labelSize = 20; cb.labelFont = "Microsoft YaHei"; cb.labelPadding = "3,0,0,5"; return cb; } priva...
来源: Laya3.0_文档 发布时间: 20241014
...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean destroyed...
来源: Laya3.0_api 发布时间: 20231115
...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean destroyed...
来源: Laya3.0_api 发布时间: 20231115
... public roleAni:Laya.Animator; /*角色当前动作*/ public currentAction:string = "stand"; /*角色动画是否完成*/ public aniComplete:Boolean = true; /*角色移动速度*/ public speed:number = 0.04; /*3D摄像机*/ public camera:Laya.Camera; /*摇杆控制器*/ private rocker:RockerView; /*...
来源: Laya_社区 发布时间: 20171113