大约有 5 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0018 秒)
... function () { layaMonkey.transform.rotate(this.rotation, false); });class BlinnPhongMaterialLoad { private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Lay...
来源: Laya_示例 发布时间: 20241119
....transform.position = new Laya.Vector3(0.6, 0, 0); var material = new Laya.BlinnPhongMaterial(); //漫反射贴图 material.albedoTexture = Laya.Texture2D.load("../../res/threeDimen/texture/earth.png"); earth2.meshRender.material = material; Laya.timer.frameLoop(1, this, function () { earth1.transfo...
来源: Laya_示例 发布时间: 20241119
...rotation, false); teapot2.transform.rotate(this.rotation, false); });class BlinnPhong_ReflectMap { private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya...
来源: Laya_示例 发布时间: 20241119
...m.rotate(this.rotation); dude2.transform.rotate(this.rotation); }); }class BlinnPhong_SpecularMap { private scene:Laya.Scene; private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); private specularMapUrl:any = ["../../res/threeDimen/skinModel/dude/Assets/dude/headS.png", "../../res/threeDimen...
来源: Laya_示例 发布时间: 20241119
...otate(this.rotation); monster2.transform.rotate(this.rotation); }); }class BlinnPhong_NormalMap { private scene:Laya.Scene; private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); private normalMapUrl:any = ["../../res/threeDimen/staticModel/lizardCal/rock_norm.png", "../../res/threeDimen/stat...
来源: Laya_示例 发布时间: 20241119