Skip to content

Commit

Permalink
example improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborvass committed Nov 6, 2018
1 parent 7bfabc6 commit 07c673b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ void LevelFinished()
### Customization

You configure the recording using the following parameters:

![Parameters](capture_parameters.png)

- `captureFrameRate` - Number of captured frames per second.
Expand All @@ -125,6 +126,7 @@ length = (maxCapturedFrames / captureFrameRate) * (captureFrameRate / playback
maxCapturedFrames = 50
captureFrameRate = 10
playback = 30
length = 1.5 sec
```

![Quick](example-quick.gif)
Expand All @@ -136,6 +138,7 @@ playback = 30
maxCapturedFrames = 50
captureFrameRate = 30
playback = 10
length = 5 sec
```

![Slow](example-slow.gif)
Expand Down Expand Up @@ -167,12 +170,14 @@ void ActionFinished()
### Customization

You can also customize playback:

![Parameters](preview_parameters.png)

- `playbackFrameRate` - Number of displayed frames per second.
- `loopPlayback` - Preview loops or played only once.

The size and position of preview window can be changed in the Editor:

![Preview](preview_size.png)


Binary file modified example-quick.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example-slow.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 07c673b

Please sign in to comment.