Banuba SDK
Instance Methods | List of all members
BNBTextTexture Class Reference

#import <BNBTextTexture.h>

Inheritance diagram for BNBTextTexture:

Instance Methods

(void) - loadResource:
 
(int32_t) - getWidth
 
(int32_t) - getHeight
 
(void) - setWidth:
 
(void) - setHeight:
 
(void) - setText:
 
(nonnull NSString *) - getText
 
(void) - setFont:
 
(nonnull NSString *) - getFont
 
(nullable BNBImage *) - asImage
 

Detailed Description

Definition at line 15 of file BNBTextTexture.h.

Method Documentation

◆ asImage

- (nullable BNBImage *) asImage
Returns
upcast to base type

◆ getFont

- (nonnull NSString *) getFont

◆ getHeight

- (int32_t) getHeight

◆ getText

- (nonnull NSString *) getText

◆ getWidth

- (int32_t) getWidth

◆ loadResource:

- (void) loadResource: (nullable BNBResource *)  res

◆ setFont:

- (void) setFont: (nonnull NSString *)  path

◆ setHeight:

- (void) setHeight: (int32_t)  value

◆ setText:

- (void) setText: (nonnull NSString *)  text

◆ setWidth:

- (void) setWidth: (int32_t)  value

The documentation for this class was generated from the following file: