Matrix3x2 Estructura
Definición
Representa una matriz de 3 x 2.Represents a 3x2 matrix.
public value class Matrix3x2 : IEquatable<System::Numerics::Matrix3x2>
public struct Matrix3x2 : IEquatable<System.Numerics.Matrix3x2>
type Matrix3x2 = struct
Public Structure Matrix3x2
Implements IEquatable(Of Matrix3x2)
- Herencia
- Implementaciones
Comentarios
Para las transformaciones de matriz, las instancias de Vector2, Vector3 y Vector4 se representan como filas: un vector v se transforma mediante una matriz M con multiplicación vM.For matrix transformations, the Vector2, Vector3, and Vector4 instances are represented as rows: a vector v is transformed by a matrix M with vM multiplication.
Constructores
Matrix3x2(Single, Single, Single, Single, Single, Single) |
Crea una matriz de 3 x 2 de los componentes especificados.Creates a 3x2 matrix from the specified components. |
Campos
M11 |
Primer elemento de la matriz.The first element of the first row. |
M12 |
Segundo elemento de la primera fila.The second element of the first row. |
M21 |
Primer elemento de la segunda fila.The first element of the second row. |
M22 |
Segundo elemento de la segunda fila.The second element of the second row. |
M31 |
Primer elemento de la tercera fila.The first element of the third row. |
M32 |
Segundo elemento de la tercera fila.The second element of the third row. |
Propiedades
Identity |
Obtiene la matriz de identidad de multiplicación.Gets the multiplicative identity matrix. |
IsIdentity |
Indica si la matriz actual es la matriz de identidad.Indicates whether the current matrix is the identity matrix. |
Translation |
Obtiene o establece el componente de traslación de esta matriz.Gets or sets the translation component of this matrix. |
Métodos
Add(Matrix3x2, Matrix3x2) |
Agrega cada elemento de una matriz con el elemento correspondiente de una segunda matriz.Adds each element in one matrix with its corresponding element in a second matrix. |
CreateRotation(Single) |
Crea una matriz de rotación usando la rotación especificadas en radianes.Creates a rotation matrix using the given rotation in radians. |
CreateRotation(Single, Vector2) |
Crea una matriz de rotación usando la rotación especificada en radianes y un punto central.Creates a rotation matrix using the specified rotation in radians and a center point. |
CreateScale(Single) |
Crea una matriz de escala que escala de manera uniforme con la escala especificada.Creates a scaling matrix that scales uniformly with the given scale. |
CreateScale(Single, Single) |
Crea una matriz de escala a partir de los componentes X e Y especificados.Creates a scaling matrix from the specified X and Y components. |
CreateScale(Single, Single, Vector2) |
Crea una matriz de escala con un desvío con respecto a un punto central especificado.Creates a scaling matrix that is offset by a given center point. |
CreateScale(Single, Vector2) |
Crea una matriz de escala que escala de manera uniforme con la escala especificada con una desviación desde el centro especificado.Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center. |
CreateScale(Vector2) |
Crea una matriz de escala a partir de la escala del vector especificado.Creates a scaling matrix from the specified vector scale. |
CreateScale(Vector2, Vector2) |
Crea una matriz de escala a partir de la escala del vector especificado con una desviación desde el punto central especificado.Creates a scaling matrix from the specified vector scale with an offset from the specified center point. |
CreateSkew(Single, Single) |
Crea una matriz de sesgado a partir de los ángulos especificados en radianes.Creates a skew matrix from the specified angles in radians. |
CreateSkew(Single, Single, Vector2) |
Crea una matriz de sesgado a partir de los ángulos especificados en radianes y un pun to central.Creates a skew matrix from the specified angles in radians and a center point. |
CreateTranslation(Single, Single) |
Crea una matriz de traslación a partir de los componentes X e Y especificados.Creates a translation matrix from the specified X and Y components. |
CreateTranslation(Vector2) |
Crea una matriz de traslación a partir del vector bidimensional especificado.Creates a translation matrix from the specified 2-dimensional vector. |
Equals(Matrix3x2) |
Devuelve un valor que indica si esta instancia y otra matriz de 3 x 2 son iguales.Returns a value that indicates whether this instance and another 3x2 matrix are equal. |
Equals(Object) |
Devuelve un valor que indica si esta instancia es igual que un objeto especificado.Returns a value that indicates whether this instance and a specified object are equal. |
GetDeterminant() |
Calcula el factor determinante para esta matriz.Calculates the determinant for this matrix. |
GetHashCode() |
Devuelve el código hash de esta instancia.Returns the hash code for this instance. |
Invert(Matrix3x2, Matrix3x2) |
Invierte la matriz especificada.Inverts the specified matrix. Valor devuelto indica si la operación se realizó correctamente.The return value indicates whether the operation succeeded. |
Lerp(Matrix3x2, Matrix3x2, Single) |
Realiza una interpolación lineal desde una matriz a una segunda matriz basándose en un valor que especifica la ponderación de la segunda matriz.Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. |
Multiply(Matrix3x2, Matrix3x2) |
Devuelve la matriz resultante de la multiplicación de dos matrices juntas.Returns the matrix that results from multiplying two matrices together. |
Multiply(Matrix3x2, Single) |
Devuelve la matriz resultante de la escala de todos los elementos de una matriz especificada por un factor escalar.Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. |
Negate(Matrix3x2) |
Convierte en negativa la matriz especificada al multiplicar todos sus valores por -1.Negates the specified matrix by multiplying all its values by -1. |
Subtract(Matrix3x2, Matrix3x2) |
Resta cada elemento en una segunda de su elemento correspondiente en una primera matriz.Subtracts each element in a second matrix from its corresponding element in a first matrix. |
ToString() |
Devuelve una cadena que representa esta matriz.Returns a string that represents this matrix. |
Operadores
Addition(Matrix3x2, Matrix3x2) |
Agrega cada elemento de una matriz con el elemento correspondiente de una segunda matriz.Adds each element in one matrix with its corresponding element in a second matrix. |
Equality(Matrix3x2, Matrix3x2) |
Devuelve un valor que indica si las matrices especificadas son iguales.Returns a value that indicates whether the specified matrices are equal. |
Inequality(Matrix3x2, Matrix3x2) |
Devuelve un valor que indica si las matrices especificadas no son iguales.Returns a value that indicates whether the specified matrices are not equal. |
Multiply(Matrix3x2, Matrix3x2) |
Devuelve la matriz resultante de la multiplicación de dos matrices juntas.Returns the matrix that results from multiplying two matrices together. |
Multiply(Matrix3x2, Single) |
Devuelve la matriz resultante de la escala de todos los elementos de una matriz especificada por un factor escalar.Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. |
Subtraction(Matrix3x2, Matrix3x2) |
Resta cada elemento en una segunda de su elemento correspondiente en una primera matriz.Subtracts each element in a second matrix from its corresponding element in a first matrix. |
UnaryNegation(Matrix3x2) |
Convierte en negativa la matriz especificada al multiplicar todos sus valores por -1.Negates the specified matrix by multiplying all its values by -1. |