SCCameraKitBufferInput
Objective-C
@interface SCCameraKitBufferInput : NSObject <SCCameraKitInput>
Swift
class BufferInput : NSObject, Input
BufferInput is a Camera Kit provided input that uses a single pre-allocated black pixel buffer as a source for
generating sample buffers at a configurable frame rate.
-
Creates a
BufferInputinstance.Declaration
Objective-C
- (nonnull instancetype)initWithFrameSize:(CGSize)frameSize framesPerSecond:(NSInteger)framesPerSecond;Swift
init(frameSize: CGSize, framesPerSecond: Int) -
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE; -
The horizontal field of view for the input. Default is 70.0f.
Declaration
Objective-C
@property (nonatomic) CGFloat horizontalFieldOfView;Swift
var horizontalFieldOfView: CGFloat { get set }