FrameRecorder.RecordingConfiguration Class¶
Description¶
录制配置。。
Classes¶
| public class FrameRecorder.RecordingConfiguration.FilePathInfo | 文件路径信息。录制的文件路径在 FrameRecorder.RecordingConfiguration.FilePathInfo.Type 为 WritablePathType.PersistentDataPath 时是 Path.Combine(Application.persistentDataPath, FolderPath, Name + extension), FrameRecorder.RecordingConfiguration.FilePathInfo.Type 为 WritablePathType.Absolute 时是 Path.Combine(FolderPath, Name + extension),其中extension由 FrameRecorder.RecordingConfiguration.Format 决定。 | 
Fields¶
AutoFilePath¶
- C#
- public bool AutoFilePath 
自动生成文件路径。文件将被存储在 Application .persistentDataPath,你需要自己确保能通过一些方法获取到这里的文件。
FilePath¶
- C#
- public FrameRecorder.RecordingConfiguration.FilePathInfo FilePath 
文件路径信息。
Format¶
- C#
- public FrameRecorder.InternalFormat Format 
录制的格式。使用 FrameRecorder.InternalFormat.H264 可能无法在一些设备上工作。