BNBCameraParameters
Objective-C
@interface BNBCameraParameters : NSObject
- (nonnull instancetype)initWithProjection:(BNBProjectionType)projection
zNear:(float)zNear
zFar:(float)zFar
fov:(float)fov
frameWidth:(int32_t)frameWidth
frameHeight:(int32_t)frameHeight;
+ (nonnull instancetype)cameraParametersWithProjection:(BNBProjectionType)projection
zNear:(float)zNear
zFar:(float)zFar
fov:(float)fov
frameWidth:(int32_t)frameWidth
frameHeight:(int32_t)frameHeight;
@property (nonatomic, readonly) BNBProjectionType projection;
@property (nonatomic, readonly) float zNear;
@property (nonatomic, readonly) float zFar;
@property (nonatomic, readonly) float fov;
@property (nonatomic, readonly) int32_t frameWidth;
@property (nonatomic, readonly) int32_t frameHeight;
@end
Swift
class BNBCameraParameters : NSObject
Undocumented
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithProjection:(BNBProjectionType)projection zNear:(float)zNear zFar:(float)zFar fov:(float)fov frameWidth:(int32_t)frameWidth frameHeight:(int32_t)frameHeight;Swift
init(projection: BNBProjectionType, zNear: Float, zFar: Float, fov: Float, frameWidth: Int32, frameHeight: Int32) -
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)cameraParametersWithProjection:(BNBProjectionType)projection zNear:(float)zNear zFar:(float)zFar fov:(float)fov frameWidth:(int32_t)frameWidth frameHeight:(int32_t)frameHeight; -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) BNBProjectionType projectionSwift
var projection: BNBProjectionType { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) float zNearSwift
var zNear: Float { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) float zFarSwift
var zFar: Float { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) float fovSwift
var fov: Float { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) int32_t frameWidthSwift
var frameWidth: Int32 { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) int32_t frameHeightSwift
var frameHeight: Int32 { get }
BNBCameraParameters Class Reference