Skip to content

Commit 8702b36

Browse files
committed
Merge branch 'master' of github:magicien/MMDSceneKit
2 parents 865450f + 2cb54a8 commit 8702b36

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

README.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,30 @@
11
# MMDSceneKit
22
SceneKit expansion for MikuMikuDance
33

4-
### Install
4+
![ScreenShot](https://github.com/magicien/MMDSceneKit/blob/master/screenshot.png)
55

6+
## Install
67

7-
### Documentation
8+
Download **MMDSceneKit_vX.X.X.zip** from [Releases](https://github.com/magicien/MMDSceneKit/releases/latest).
89

9-
https://magicien.github.io/MMDSceneKit/
10+
## Usage
1011

11-
### Examples
12+
### Swift
13+
```
14+
import MMDSceneKit_macOS
15+
16+
guard let sceneSource = MMDSceneSource(named: "art.scnassets/projectFile.pmm") else { return }
17+
var scene = sceneSource.getScene()
18+
```
19+
20+
### Objective-C
21+
```
22+
@import MMDSceneKit_macOS;
23+
24+
MMDSceneSource *source = [[MMDSceneSource alloc] initWithNamed:@"art.scnassets/projectFile.pmm" options:nil models:nil];
25+
SCNScene *scene = [source getScene];
26+
```
27+
28+
### See Also
29+
30+
[MikuMikuDanceQuickLook](https://github.com/magicien/MikuMikuDanceQuickLook) - macOS QuickLook plugin for MikuMikuDance files

0 commit comments

Comments
 (0)