Skip to content

Commit

Permalink
Merge pull request #21 from vrm-c/merge/api_sidebar
Browse files Browse the repository at this point in the history
Merge/api sidebar
  • Loading branch information
ousttrue authored Jan 26, 2024
2 parents 9849533 + 7696e55 commit 58b21b5
Show file tree
Hide file tree
Showing 4 changed files with 385 additions and 309 deletions.
39 changes: 39 additions & 0 deletions docs/api/load/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# import の手順

`v0.118`

`UniGLTF.GltfData` の生成、
`UniGLTF.GltfData` からシーンを構築するの 2 ステップになっています。

## `UniGLTF.GltfData` の生成

:::info UniGLTF.GltfData は vrm-0, vrm-1, glb, gltf で共通です
:::

:::tip UniGLTF.GltfData の生成はスレッドセーフです
Unity にアクセスしません。
:::

[glb_import](/api/0_82_glb_import)

## `UniGLTF.GltfData` からシーンを構築する

### glb(gltf)

[glb_import](/api/0_82_glb_import)

### vrm-0.x

GltfData から VrmData を生成し、
VrmData から シーンを構築します。

TODO:

`Assets/VRM/Runtime/IO/VrmUtility.cs` に使用例があります。

### vrm-1.0

GltfData から Vrm10Data を生成し、
Vrm10Data から シーンを構築します。

[vrm-1.0](/api/vrm1_load)
11 changes: 0 additions & 11 deletions docs/univrm1/import/index.md

This file was deleted.

20 changes: 7 additions & 13 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,28 +103,22 @@ const config: Config = {
{ to: "/blog", label: "Blog", position: "left" },
//
{
label: "Site",
label: "UniVRM-API",
type: "docSidebar",
sidebarId: "siteSidebar",
position: "right",
},
{
label: "UniHumanoid",
type: "docSidebar",
sidebarId: "unihumanoidSidebar",
sidebarId: "apiSidebar",
position: "right",
},

{
label: "API",
label: "UniVRM-Release",
type: "docSidebar",
sidebarId: "apiSidebar",
sidebarId: "releaseSidebar",
position: "right",
},

{
label: "ReleaseNote",
label: "Site",
type: "docSidebar",
sidebarId: "releaseSidebar",
sidebarId: "siteSidebar",
position: "right",
},
{
Expand Down
Loading

0 comments on commit 58b21b5

Please sign in to comment.