#import <BNBCameraComposer.h>
Definition at line 16 of file BNBCameraComposer.h.
◆ enableBlur:
- (void) enableBlur: |
|
(BOOL) |
enable |
|
◆ getBackgroundImage
- (nullable BNBImage *) getBackgroundImage |
|
|
|
◆ getBackgroundVideo
- (nullable BNBVideo *) getBackgroundVideo |
|
|
|
◆ setBackgroundColor:g:b:a:
- (void) setBackgroundColor: |
|
(float) |
r |
g: |
|
(float) |
g |
b: |
|
(float) |
b |
a: |
|
(float) |
a |
|
|
| |
◆ setBackgroundImage:play:loop:
- (void) setBackgroundImage: |
|
(nonnull NSString *) |
path |
play: |
|
(BOOL) |
play |
loop: |
|
(BOOL) |
loop |
|
|
| |
Pass empty path to reset background image.
Supported extensions: jpg, jpeg, png, mp4, gif play and loop args only for video
◆ setBackgroundImageByFd:
- (void) setBackgroundImageByFd: |
|
(int32_t) |
fd |
|
◆ setBackgroundVideoByFd:play:loop:
- (void) setBackgroundVideoByFd: |
|
(int32_t) |
fd |
play: |
|
(BOOL) |
play |
loop: |
|
(BOOL) |
loop |
|
|
| |
◆ setBgTransparencyFactor:
- (void) setBgTransparencyFactor: |
|
(float) |
factor |
|
◆ setBlurRadius:
- (void) setBlurRadius: |
|
(int32_t) |
radius |
|
◆ setClearColor:g:b:a:
- (void) setClearColor: |
|
(float) |
r |
g: |
|
(float) |
g |
b: |
|
(float) |
b |
a: |
|
(float) |
a |
|
|
| |
Specifies the color of the area not covered by background texture (e.g.
contentMode
FIT
). Black by default. Transparency (a
) is a conventional argument only and currently ignored (use 1
for it).
◆ setContentMode:
- (void) setContentMode: |
|
(int32_t) |
mode |
|
◆ setRotation:
- (void) setRotation: |
|
(float) |
degrees |
|
◆ setScale:y:
- (void) setScale: |
|
(float) |
x |
y: |
|
(float) |
y |
|
|
| |
The documentation for this class was generated from the following file: