大约有 4 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0017 秒)
...类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name": "folder", "clipX": "1", "skin": "ui/clip_t...
来源: Laya_示例 发布时间: 20241118
...or2(27.92727, 27.92727)); customMaterial.setDiffuseScale2(new Laya.Vector2(13.96364, 13.96364)); customMaterial.setDiffuseScale3(new Laya.Vector2(18.61818, 18.61818)); customMaterial.setDiffuseScale4(new Laya.Vector2(13.96364, 13.96364)); customMaterial.setAmbientColor(new Laya.Vector3(1, 1, 1)); cu...
来源: Laya_示例 发布时间: 20241118
....Layer.getLayerByNumber(10); sprite3d3.layer = Laya.Layer.getLayerByNumber(13); sprite3d4.layer = Laya.Layer.getLayerByNumber(13); /** * 给精灵添加碰撞器组件 * BoxCollider : 盒型碰撞器 * SphereCollider : 球型碰撞器 * MeshCollider : 网格碰撞器 */ var sprite3d1MeshCollider = s...
来源: Laya_示例 发布时间: 20241118
...eLabel.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 = function(value) { nameLabel.t...
来源: Laya_示例 发布时间: 20241118