<Float32Matrix> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyNo registered superclass.

Function Members

Function members are as follows:

Return Type Function Name Documentation
<Float32Matrix>Float32MatrixThe <Float64Matrix> constructor.
int32AssignSets this matrix to the values of the source matrix.
int32BindIteratorsBinds iterators to this object.
int32BindPointerBinds a <MemoryPointer> or subclass to this object. The <MemoryPointer> becomes a pointer to this object that can be passed to compatible functions.
<Float32Vector>ColumnV4Returns a pointer to the 4-component vector representing the specified matrix column.
int32FillFills the matrix with the specified value.
<Float32Iterator>FirstReturns an iterator positioned at the start of the collection.
float32GetComponentReturns the component of the vector at the specified index.
int32GetElementSizeReturns sizeof( T ), where T = the matrix primitive type such as <float32> or <float64>.
float32GetFloat32Returns the value at the specified index.
<Float32Pointer>GetPointerReturns a pointer to this object. The pointer object is allocated with new so you must use auto in the declaration or you must manually delete the pointer object. For example: auto Float32Pointer ptr = object.GetPointer().
int32GetSizeInBytesReturns the size in bytes of the matrix.
<Float32ArrayView>GetViewReturns a <Float32ArrayView> that contains first and last iterators for the collection.
int32InvertInverts the matrix.
<Float32Iterator>LastReturns an iterator positioned at the end of the collection.
int32Print1DPrints the matrix in 1D into a <StrList>.
int32Print2DPrints the matrix in 2D into a <StrList>.
int32SetComponentSets the component of the vector at the specified index.
int32SetFloat32Sets the value of the matrix at the specified index.
<Float32Matrix>SetIdentitySets the matrix values to an indentity.
int32SetRowV4Sets the value of a row to the value of the specified vector.
int32TransposeTransposes the matrix, which is the same as 'rotating' the matrix.
int32ZeroSets all the values in the matrix to zero.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
float32[]Elements[ index ]This accessor retrieves the array of 16 elements that define the matrix. For example: accessed using myMatrix.Elements[0] = 1.0. You can access indices 0 to 15.
float32M00Gets or sets the (zero-based) element at the first row of the first column of the matrix.
float32M01Gets or sets the (zero-based) element at the first row of the second column of the matrix.
float32M02Gets or sets the (zero-based) element at the first row of the third column of the matrix.
float32M03Gets or sets the (zero-based) element at the first row of the fourth column of the matrix.
float32M10Gets or sets the (zero-based) element at the second row of the first column of the matrix.
float32M11Gets or sets the (zero-based) element at the second row of the second column of the matrix.
float32M12Gets or sets the (zero-based) element at the second row of the third column of the matrix.
float32M13Gets or sets the (zero-based) element at the second row of the fourth column of the matrix.
float32M20Gets or sets the (zero-based) element at the third row of the first column of the matrix.
float32M21Gets or sets the (zero-based) element at the third row of the second column of the matrix.
float32M22Gets or sets the (zero-based) element at the third row of the third column of the matrix.
float32M23Gets or sets the (zero-based) element at the third row of the fourth column of the matrix.
float32M30Gets or sets the (zero-based) element at the fourth row of the first column of the matrix.
float32M31Gets or sets the (zero-based) element at the fourth row of the second column of the matrix.
float32M32Gets or sets the (zero-based) element at the fourth row of the third column of the matrix.
float32M33Gets or sets the (zero-based) element at the fourth row of the fourth column of the matrix.