Banuba SDK
BNBTextTexture.h
Go to the documentation of this file.
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file was generated by Djinni from scene.djinni
3 
4 #import <Foundation/Foundation.h>
5 @class BNBImage;
6 @class BNBResource;
7 
8 
9 
10 #ifndef DJINNI_EXPORT
11  #define DJINNI_EXPORT __attribute__((__visibility__("default")))
12 #endif
13 
15 @interface BNBTextTexture : NSObject
16 
17 - (void)loadResource:(nullable BNBResource *)res;
18 
19 - (int32_t)getWidth;
20 
21 - (int32_t)getHeight;
22 
23 - (void)setWidth:(int32_t)value;
24 
25 - (void)setHeight:(int32_t)value;
26 
27 - (void)setText:(nonnull NSString *)text;
28 
29 - (nonnull NSString *)getText;
30 
31 - (void)setFont:(nonnull NSString *)path;
32 
33 - (nonnull NSString *)getFont;
34 
35 /**@return upcast to base type */
36 - (nullable BNBImage *)asImage;
37 
38 @end
DJINNI_EXPORT
#define DJINNI_EXPORT
Definition: BNBTextTexture.h:11
BNBImage
Definition: BNBImage.h:24
-[BNBTextTexture getWidth]
int32_t getWidth()
BNBResource
Definition: BNBResource.h:14
-[BNBTextTexture getHeight]
int32_t getHeight()
BNBTextTexture
Definition: BNBTextTexture.h:15
-[BNBTextTexture getFont]
nonnull NSString * getFont()
-[BNBTextTexture asImage]
nullable BNBImage * asImage()
-[BNBTextTexture getText]
nonnull NSString * getText()