大约有 20 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0024 秒)
....ShaderCompile3D.SHADERDEFINE_HIGHPRECISION,4,20);class ShaderPrecompile { constructor() { Laya3D.init(0, 0, true); //开启Shader编译调试模式,可在输出宏定义编译值。 Laya.ShaderCompile3D.debugMode = true; var sc: Laya.ShaderCompile3D = Laya.ShaderCompile3D.get("SIMPLE"); //部分...
来源: Laya_示例 发布时间: 20241118
...ad("../../res/threeDimen/skyBox/skyBox1/skyCube.ltc");class SkyBoxSample { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Sc...
来源: Laya_示例 发布时间: 20241118
.../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Sprite3DLoad { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera: Laya.Camera = scene.addChil...
来源: Laya_示例 发布时间: 20241118
...(0.1, 0, 0); private collider:Laya.Sprite3D; private debug:Boolean = true; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //预加载所有资源 var resource:any = [ {url: "../../res/threeDimen...
来源: Laya_示例 发布时间: 20241118
...threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Laya3DCombineHtml { constructor() { var div = Laya.Browser.window.document.createElement("div"); div.innerHTML = "此内容来源于HTML网页, 可直接在html代码中书写 - h1标签"; document.body.appendChild(div); //1.开启第四个参...
来源: Laya_示例 发布时间: 20241118
..../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class MultiCamera { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Sc...
来源: Laya_示例 发布时间: 20241118
...a.Vector3(-0.6, 0, 0))); }class Sprite3DClone { private scene: Laya.Scene; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; this.scene = new Laya.Scene(); Laya.stage.addChild(this.scene); var camera: Laya.Camera = ...
来源: Laya_示例 发布时间: 20241118
...scene: Laya.Scene; private camera: Laya.Camera; private label: Laya.Label; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; //初...
来源: Laya_示例 发布时间: 20241118
...ghtDemo { private scene: Laya.Scene; private _quaternion: Laya.Quaternion; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.scene = new Laya.Scene() Laya.stage.addChild(this.scene); this._qua...
来源: Laya_示例 发布时间: 20241118
...10, 500, 0); private _translate: Laya.Vector3 = new Laya.Vector3(0, 0, 0); constructor() { Laya3D.init(1024, 768, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_HEIGHT; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var dialog: Laya.Image = Laya.stage.addChild(new Laya.Image...
来源: Laya_示例 发布时间: 20241118