大约有 27 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0021 秒)
...ene.addChild(Laya.Sprite3D.load("../../res/threeDimen/particle/ETF_Eternal_Light.lh"));class Particle_EternalLight { 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.s...
来源: Laya_示例 发布时间: 20241118
...laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.light.DirectionLight; import laya.d3.core.scene.Scene; import laya.d3.math.Vector3; import laya.d3.resource.models.Mesh; import laya.d3.shader.ShaderCompile3D; import laya.display.Stage; import laya.utils.Stat; import laya.we...
来源: Laya_示例 发布时间: 20241118
...t laya.d3.core.Sprite3D; import laya.d3.core.VRCamera; import laya.d3.core.light.DirectionLight; import 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....
来源: Laya_示例 发布时间: 20241118
...a.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //加载网格 var layaMonkey = scene.addChild(new Laya.MeshSp...
来源: Laya_示例 发布时间: 20241118
...era.CLEARFLAG_SKY; vrCamera.addComponent(VRCameraMoveScript); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var earth = scene.addChild(Laya.Sprite3D.load("../../res/threeDime...
来源: Laya_示例 发布时间: 20241118
..., false); //3.清除照相机颜色 camera.clearColor = null; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../re...
来源: Laya_示例 发布时间: 20241118
...hreeDimen/skyBox/skyBox2/skyCube.ltc"); camera2.sky = skyBox; var directionLight = scene.addChild(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class MultiCamera { constructor() { Laya3D.init(0, 0, true); La...
来源: Laya_示例 发布时间: 20241118
...a.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mes...
来源: Laya_示例 发布时间: 20241118
...e, false); camera.addComponent(CameraMoveScript); //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); directionLight.direction = new Laya.Vector3(0, -1.0, -1.0); var grid = scene.addChild(Laya.Sprite3D.load("../../res/th...
来源: Laya_示例 发布时间: 20241118
...影垂直矩阵尺寸 camera.orthographicVerticalSize = 10; var directionLight = scene.addChild(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () {...
来源: Laya_示例 发布时间: 20241118