コード例 #1
0
    public MegacoolRecordingConfig(
//            Rect crop = default(Rect),
        MegacoolOverflowStrategy overflowStrategy = default(MegacoolOverflowStrategy),
        string recordingId    = default(string),
        int maxFrames         = 0,
        double peakLocation   = -42,
        int lastFrameDelay    = 0,
        int playbackFrameRate = 0,
        int frameRate         = 0)
    {
        this.overflowStrategy = overflowStrategy;
//        Crop = crop;
        RecordingId       = recordingId;
        MaxFrames         = maxFrames;
        PeakLocation      = peakLocation;
        LastFrameDelay    = lastFrameDelay;
        PlaybackFrameRate = playbackFrameRate;
        FrameRate         = frameRate;
        OverflowStrategy  = overflowStrategy;
    }
コード例 #2
0
    public MegacoolFrameCaptureConfig(
//            Rect crop = default(Rect),
        MegacoolOverflowStrategy overflowStrategy = default(MegacoolOverflowStrategy),
        string recordingId    = default(string),
        bool forceAdd         = false,
        int maxFrames         = 0,
        double peakLocation   = -42,
        int lastFrameDelay    = 0,
        int playbackFrameRate = 0,
        int frameRate         = 0)
    {
        this.overflowStrategy = overflowStrategy;
        RecordingId           = recordingId;
//        Crop = crop;
        ForceAdd          = forceAdd;
        MaxFrames         = maxFrames;
        PeakLocation      = peakLocation;
        PlaybackFrameRate = playbackFrameRate;
        LastFrameDelay    = lastFrameDelay;
        FrameRate         = frameRate;
    }