大约有 791 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(463) Laya3.0_api(111) Laya3.0_文档(58) Laya_示例(45) Laya2.0_api(42) laya_api(39) Laya2.0_文档(24) Laya2.0_示例(9)
...改啊? appPic.as package { import laya.display.Sprite; import laya.resource.Texture; import laya.ui.Image; import laya.utils.Handler; public class addPic { private var picUrl:String; private var pic:Sprite; private var picX:int; private var picY:int; public function addPic(str:String, x:int, y...
来源: Laya_社区 发布时间: 20170522
...port laya.d3.core.scene.Scene; import laya.d3.math.Vector3; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.utils.Stat; import common.CameraMoveScript; public class SceneLoad { public function SceneLoad() { Laya3D.init(0, 0, true); L...
来源: Laya_示例 发布时间: 20251130
...下资源来自“引擎API使用示例” private buttonSkin: string = "resources/res/ui/button-7.png"; private clipSkin: string = "resources/res/ui/num0-9.png"; private bgSkin: string = "resources/res/ui/coutDown.png"; counter: any; controller: any; currFrame: any; //组件被激活后执行,此...
来源: Laya3.0_文档 发布时间: 20251010
...port laya.d3.core.scene.Scene; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.models.SkyDome; import laya.display.Stage; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author */ public class SkyDomeSample { pub...
来源: Laya_示例 发布时间: 20251130
... export default class TestUI extends ui.test.TestSceneUI { private resource: Array<String> = [ "gate/Conventional/Test.ls", ]; constructor() { super(); } onAwake(): void { Laya.loader.create(this.resource, Laya.Handler.create(this, this.onPreLoad...
来源: Laya_社区 发布时间: 20190925
...档中的说明为准。 > > **Tips:** > > “D:\layaide2.0\layaairide\resources\app\out\vs\layaEditor\laya\libs\2.0.0beta\as\laya.js.exe”应为laya.js.exe的实际所在路径。 > > **MAC系统下为“”userPath“\layaairide\resources\app\out\vs\layaEditor\laya\libs\2.0.0beta\as\LayaJSMac...
来源: Laya2.0_文档 发布时间: 20210715
...aya.stage.screenMode = Laya.Stage.SCREEN_NONE; //预加载所有资源 var resource:Array = ["res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D...
来源: Laya2.0_文档 发布时间: 20210714
...port laya.d3.core.scene.Scene; import laya.d3.math.Vector3; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.utils.Stat; import common.VRCameraMoveScript; public class VRScene2 { public function VRScene2() { Laya3D.init(0, 0, true); L...
来源: Laya_示例 发布时间: 20251130
...aya.stage.screenMode = Laya.Stage.SCREEN_NONE; //预加载所有资源 var resource:Array = ["res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D...
来源: Laya2.0_文档 发布时间: 20210715
...lass WaterPrimaryMaterialInheritanceWaterPrimaryMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...
来源: Laya2.0_api 发布时间: 20190513