大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0011 秒)
...kyDome; skyDome.texture = Laya.Texture2D.load("../../res/threeDimen/env/sp_default/env.png");class SkyDomeSample { 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.sta...
来源: Laya_示例 发布时间: 20241118
...) { nameLabel = new Text(); nameLabel.color = "#FFFFFF"; nameLabel.text = "Default"; nameLabel.fontSize = 13; nameLabel.width = Character.WIDTH; nameLabel.align = "center"; this.addChild(nameLabel); } Character.prototype.setSpeed = function(value) { this.speed = value; } Character.prototype.setName ...
来源: Laya_示例 发布时间: 20241118
...ddChild(new Laya.Scene()); //var env:String = 'inthegarden'; var env = 'sp_default'; //var env = 'AtticRoom'; //var env = 'overcloud'; var envinfo = '../../res/threeDimen/env/' + env + '/envinfo.json'; Laya.loader.load(envinfo, Laya.Handler.create(this, onEnvDescLoaded, [envinfo, '../../res/threeDim...
来源: Laya_示例 发布时间: 20241118