BNBVec4

Objective-C

@interface BNBVec4 : NSObject
- (nonnull instancetype)initWithX:(float)x
                                y:(float)y
                                z:(float)z
                                w:(float)w;
+ (nonnull instancetype)vec4WithX:(float)x
                                y:(float)y
                                z:(float)z
                                w:(float)w;

@property (nonatomic, readonly) float x;

@property (nonatomic, readonly) float y;

@property (nonatomic, readonly) float z;

@property (nonatomic, readonly) float w;

@end

Swift

class BNBVec4 : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithX:(float)x
                                    y:(float)y
                                    z:(float)z
                                    w:(float)w;

    Swift

    init(x: Float, y: Float, z: Float, w: Float)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)vec4WithX:(float)x
                                    y:(float)y
                                    z:(float)z
                                    w:(float)w;
  • x

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float x

    Swift

    var x: Float { get }
  • y

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float y

    Swift

    var y: Float { get }
  • z

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float z

    Swift

    var z: Float { get }
  • w

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float w

    Swift

    var w: Float { get }