Getting Started
Up and Running in No Time
Importing NatCorder
To begin, import the API with the Unity Package Manager by adding the following lines to your Packages/manifest.json
file:
Specifying your Access Key
In order to use NatCorder, you need a NatML access key. Retrieve your access key from NatML Hub:
Once you have your access key, add it in Project Settings > NatML
:
Using NatCorder requires an active NatML MediaKit subscription. You can try it out for free, but some functionality is limited. See the FAQ for more info.
Recording the Camera
Once the API is imported, you can begin to write recording code. Let's create a recorder to record a WebCamTexture
.
Add this component to any game object in your scene and enter Play mode. After about 5 seconds, you should find a .mp4
file sitting in your project folder!
Before going into more details, look through the minimum requirements for developing with and deploying NatCorder.
Last updated