BNBWeightedLut

Objective-C

@interface BNBWeightedLut : NSObject

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

- (void)setWeight:(float)value;

- (float)getWeight;

- (void)load:(nonnull NSString *)fileName;

/**@return upcast to base type */
- (nullable BNBImage *)asImage;

@end

Swift

class BNBWeightedLut : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

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

    Swift

    func load(_ res: BNBResource?)
  • Undocumented

    Declaration

    Objective-C

    - (void)setWeight:(float)value;

    Swift

    func setWeight(_ value: Float)
  • Undocumented

    Declaration

    Objective-C

    - (float)getWeight;

    Swift

    func getWeight() -> Float
  • Undocumented

    Declaration

    Objective-C

    - (void)load:(nonnull NSString *)fileName;

    Swift

    func load(_ fileName: String)
  • Declaration

    Objective-C

    - (nullable BNBImage *)asImage;

    Swift

    func asImage() -> BNBImage?

    Return Value

    upcast to base type