大约有 6 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0041 秒)
...个面 LayaAir支持以下网格拓扑: Triangle Quad Lines Points Index Data : 索引数据 索引数组包含引用顶点位置数组中元素的整数。这些整数称为索引 例如,对于包含下列值的索引数组的网格: 0,1,2,3,4,5 如果网格具有三角形拓扑,那么前三个...
来源: Laya3.0_文档 发布时间: 20251010
...实际效果和性能要求选择最适合项目的分割方式。 2.1.5 datas 点击Bake NavMesh按钮后,可以对所有除动态节点外的、所有可渲染节点及子节点模型进行烘焙。也就是说,手动触发导航网格的生成(烘焙),会在点击Bake NavMesh按钮后...
来源: Laya3.0_文档 发布时间: 20251010
...如图2-6所示 (图2-6) Max Line Count:最大线数量 Pixel Lines Datas:像素线数据 注意:像素线数据的数量是不能超过最大线数量的 默认时,已经添加了一个像素线数据,从(0,0,0)点到(0,0,0)点的白色线,只不过是一个点,我...
来源: Laya3.0_文档 发布时间: 20251010
...些封装。 比如我们用load()方法加载一个json数据,需要在data里才能取到json文件里的数据。 使用load()方法,示例如下: onEnable(): void { const jsonPath: string = "json/bagList.json"; Laya.loader.load(jsonPath).then((json) => { let _json = json.data; if (_json...
来源: Laya3.0_文档 发布时间: 20251010
....panel("Test") export class MyPanel extends IEditor.EditorPanel { private _data : any; declare _panel : IEditor.InspectorPanel; async create() { this._panel = IEditor.GUIUtils.createInspectorPanel(); Editor.typeRegistry.addTypes([ { name : "MyPanelType", //请注意,名字是全局唯一的,一...
来源: Laya3.0_文档 发布时间: 20251010
...于需要对不同区域应用不同寻路规则的场景。 2.1.5 数据datas 点击Bake按钮后,弹出烘焙面板,如图2-11所示,从层级面板中选择要烘焙的子节点(surface节点上添加了2D导航网格表面组件),拖入到烘焙面板中,按照需要选择节点进...
来源: Laya3.0_文档 发布时间: 20251010