BNBEffectPlayerConfiguration
Objective-C
@interface BNBEffectPlayerConfiguration : NSObject
/**
* @param fxWidth Width of effect rendering area
* @param fxHeight Height of effect rendering area
*/
+ (nullable BNBEffectPlayerConfiguration *)create:(int32_t)fxWidth
fxHeight:(int32_t)fxHeight;
/** Init audio device. */
- (void)setAudioEnabled:(BOOL)enabled;
@end
Swift
class BNBEffectPlayerConfiguration : NSObject
Undocumented
-
Declaration
Objective-C
+ (nullable BNBEffectPlayerConfiguration *)create:(int32_t)fxWidth fxHeight:(int32_t)fxHeight;
Swift
class func create(_ fxWidth: Int32, fxHeight: Int32) -> BNBEffectPlayerConfiguration?
Parameters
fxWidth
Width of effect rendering area
fxHeight
Height of effect rendering area
-
Init audio device.
Declaration
Objective-C
- (void)setAudioEnabled:(BOOL)enabled;
Swift
func setAudioEnabled(_ enabled: Bool)