MPPTransformMatrix
@interface MPPTransformMatrix : NSObject
A matrix that can be used for tansformations.
-
The number of rows.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger rows;
-
The number of columns.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger columns;
-
The values of the transform matrix.
Declaration
Objective-C
@property (nonatomic, readonly) float *_Nonnull data;
-
Creates a new MPPTransformMatrix.
Declaration
Objective-C
- (nonnull instancetype)initWithData:(nonnull const float *)data rows:(NSInteger)rows columns:(NSInteger)columns;
Parameters
data
Pointer to the memory location where the data is stored. The data is copied.
rows
The number of rows.
columns
The number of columns.
-
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
-
Returns the value located at the specified location. An NSRangeException is raised if the location is outside the range of the matrix.
Declaration
Objective-C
- (float)valueAtRow:(NSUInteger)row column:(NSUInteger)column;
-
Undocumented
Declaration
Objective-C
+ (instancetype)new NS_UNAVAILABLE;