C# 클래스 Fusion.Core.Mathematics.Matrix3x2

파일 보기 프로젝트 열기: demiurghg/FusionEngine 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Identity Matrix3x2
M11 float
M12 float
M21 float
M22 float
M31 float
M32 float

공개 메소드들

메소드 설명
Add ( Matrix3x2 left, Matrix3x2 right ) : Matrix3x2

Determines the sum of two matrices.

Add ( Matrix3x2 &left, Matrix3x2 &right, Matrix3x2 &result ) : void

Determines the sum of two matrices.

Determinant ( ) : float

Calculates the determinant of this matrix.

Divide ( Matrix3x2 &left, Matrix3x2 &right, Matrix3x2 &result ) : void

Determines the quotient of two matrices.

Divide ( Matrix3x2 &left, float right, Matrix3x2 &result ) : void

Scales a matrix by the given value.

Equals ( Matrix3x2 other ) : bool

Determines whether the specified Matrix3x2 is equal to this instance.

Equals ( object value ) : bool

Determines whether the specified System.Object is equal to this instance.

GetHashCode ( ) : int

Returns a hash code for this instance.

Invert ( Matrix3x2 value ) : Matrix3x2

Calculates the inverse of the specified matrix.

Invert ( ) : void

Calculates the inverse of this matrix instance.

Invert ( Matrix3x2 &value, Matrix3x2 &result ) : void

Calculates the inverse of the specified matrix.

Lerp ( Matrix3x2 start, Matrix3x2 end, float amount ) : Matrix3x2

Performs a linear interpolation between two matrices.

Passing amount a value of 0 will cause start to be returned; a value of 1 will cause end to be returned.

Lerp ( Matrix3x2 &start, Matrix3x2 &end, float amount, Matrix3x2 &result ) : void

Performs a linear interpolation between two matrices.

Passing amount a value of 0 will cause start to be returned; a value of 1 will cause end to be returned.

Matrix3x2 ( float value ) : System

Initializes a new instance of the Matrix3x2 struct.

Matrix3x2 ( float M11, float M12, float M21, float M22, float M31, float M32 ) : System

Initializes a new instance of the Matrix3x2 struct.

Multiply ( Matrix3x2 left, Matrix3x2 right ) : Matrix3x2

Determines the product of two matrices.

Multiply ( Matrix3x2 left, float right ) : Matrix3x2

Scales a matrix by the given value.

Multiply ( Matrix3x2 &left, Matrix3x2 &right, Matrix3x2 &result ) : void

Determines the product of two matrices.

Multiply ( Matrix3x2 &left, float right, Matrix3x2 &result ) : void

Scales a matrix by the given value.

Negate ( Matrix3x2 value ) : Matrix3x2

Negates a matrix.

Negate ( Matrix3x2 &value, Matrix3x2 &result ) : void

Negates a matrix.

Rotation ( float angle ) : Matrix3x2

Creates a matrix that rotates.

Rotation ( float angle, System.Vector2 center ) : Matrix3x2

Creates a matrix that rotates about a specified center.

Rotation ( float angle, Matrix3x2 &result ) : void

Creates a matrix that rotates.

Rotation ( float angle, System.Vector2 center, Matrix3x2 &result ) : void

Creates a matrix that rotates about a specified center.

Scaling ( System.Vector2 scale ) : Matrix3x2

Creates a matrix that scales along the x-axis and y-axis.

Scaling ( float scale ) : Matrix3x2

Creates a matrix that uniformly scales along both axes.

Scaling ( float x, float y ) : Matrix3x2

Creates a matrix that scales along the x-axis and y-axis.

Scaling ( float x, float y, System.Vector2 center ) : Matrix3x2

Creates a matrix that is scaling from a specified center.

Scaling ( System.Vector2 &scale, Matrix3x2 &result ) : void

Creates a matrix that scales along the x-axis and y-axis.

Scaling ( float scale, Matrix3x2 &result ) : void

Creates a matrix that uniformly scales along both axes.

Scaling ( float x, float y, Matrix3x2 &result ) : void

Creates a matrix that scales along the x-axis and y-axis.

Scaling ( float x, float y, System.Vector2 &center, Matrix3x2 &result ) : void

Creates a matrix that is scaling from a specified center.

Skew ( float angleX, float angleY ) : Matrix3x2

Creates a skew matrix.

Skew ( float angleX, float angleY, Matrix3x2 &result ) : void

Creates a skew matrix.

SmoothStep ( Matrix3x2 start, Matrix3x2 end, float amount ) : Matrix3x2

Performs a cubic interpolation between two matrices.

SmoothStep ( Matrix3x2 &start, Matrix3x2 &end, float amount, Matrix3x2 &result ) : void

Performs a cubic interpolation between two matrices.

Subtract ( Matrix3x2 left, Matrix3x2 right ) : Matrix3x2

Determines the difference between two matrices.

Subtract ( Matrix3x2 &left, Matrix3x2 &right, Matrix3x2 &result ) : void

Determines the difference between two matrices.

ToArray ( ) : float[]

Creates an array containing the elements of the matrix.

ToString ( ) : string

Returns a System.String that represents this instance.

ToString ( IFormatProvider formatProvider ) : string

Returns a System.String that represents this instance.

ToString ( string format ) : string

Returns a System.String that represents this instance.

ToString ( string format, IFormatProvider formatProvider ) : string

Returns a System.String that represents this instance.

TransformPoint ( Matrix3x2 matrix, System.Vector2 point ) : System.Vector2

Transforms a vector by this matrix.

TransformPoint ( Matrix3x2 &matrix, System.Vector2 &point, System.Vector2 &result ) : void

Transforms a vector by this matrix.

Transformation ( float xScale, float yScale, float angle, float xOffset, float yOffset ) : Matrix3x2

Creates a transformation matrix.

Transformation ( float xScale, float yScale, float angle, float xOffset, float yOffset, Matrix3x2 &result ) : void

Creates a transformation matrix.

Translation ( System.Vector2 value ) : Matrix3x2

Creates a translation matrix using the specified offsets.

Translation ( float x, float y ) : Matrix3x2

Creates a translation matrix using the specified offsets.

Translation ( System.Vector2 &value, Matrix3x2 &result ) : void

Creates a translation matrix using the specified offsets.

Translation ( float x, float y, Matrix3x2 &result ) : void

Creates a translation matrix using the specified offsets.

operator ( ) : Matrix3x2

Adds two matrices.

operator ( ) : bool

Tests for equality between two objects.

this ( int index ) : float

Gets or sets the component at the specified index.

this ( int row, int column ) : float

Gets or sets the component at the specified index.

메소드 상세

Add() 공개 정적인 메소드

Determines the sum of two matrices.
public static Add ( Matrix3x2 left, Matrix3x2 right ) : Matrix3x2
left Matrix3x2 The first matrix to add.
right Matrix3x2 The second matrix to add.
리턴 Matrix3x2

Add() 공개 정적인 메소드

Determines the sum of two matrices.
public static Add ( Matrix3x2 &left, Matrix3x2 &right, Matrix3x2 &result ) : void
left Matrix3x2 The first matrix to add.
right Matrix3x2 The second matrix to add.
result Matrix3x2 When the method completes, contains the sum of the two matrices.
리턴 void

Determinant() 공개 메소드

Calculates the determinant of this matrix.
public Determinant ( ) : float
리턴 float

Divide() 공개 정적인 메소드

Determines the quotient of two matrices.
public static Divide ( Matrix3x2 &left, Matrix3x2 &right, Matrix3x2 &result ) : void
left Matrix3x2 The first matrix to divide.
right Matrix3x2 The second matrix to divide.
result Matrix3x2 When the method completes, contains the quotient of the two matrices.
리턴 void

Divide() 공개 정적인 메소드

Scales a matrix by the given value.
public static Divide ( Matrix3x2 &left, float right, Matrix3x2 &result ) : void
left Matrix3x2 The matrix to scale.
right float The amount by which to scale.
result Matrix3x2 When the method completes, contains the scaled matrix.
리턴 void

Equals() 공개 메소드

Determines whether the specified Matrix3x2 is equal to this instance.
public Equals ( Matrix3x2 other ) : bool
other Matrix3x2 The to compare with this instance.
리턴 bool

Equals() 공개 메소드

Determines whether the specified System.Object is equal to this instance.
public Equals ( object value ) : bool
value object The to compare with this instance.
리턴 bool

GetHashCode() 공개 메소드

Returns a hash code for this instance.
public GetHashCode ( ) : int
리턴 int

Invert() 공개 정적인 메소드

Calculates the inverse of the specified matrix.
public static Invert ( Matrix3x2 value ) : Matrix3x2
value Matrix3x2 The matrix whose inverse is to be calculated.
리턴 Matrix3x2

Invert() 공개 메소드

Calculates the inverse of this matrix instance.
public Invert ( ) : void
리턴 void

Invert() 공개 정적인 메소드

Calculates the inverse of the specified matrix.
public static Invert ( Matrix3x2 &value, Matrix3x2 &result ) : void
value Matrix3x2 The matrix whose inverse is to be calculated.
result Matrix3x2 When the method completes, contains the inverse of the specified matrix.
리턴 void

Lerp() 공개 정적인 메소드

Performs a linear interpolation between two matrices.
Passing amount a value of 0 will cause start to be returned; a value of 1 will cause end to be returned.
public static Lerp ( Matrix3x2 start, Matrix3x2 end, float amount ) : Matrix3x2
start Matrix3x2 Start matrix.
end Matrix3x2 End matrix.
amount float Value between 0 and 1 indicating the weight of .
리턴 Matrix3x2

Lerp() 공개 정적인 메소드

Performs a linear interpolation between two matrices.
Passing amount a value of 0 will cause start to be returned; a value of 1 will cause end to be returned.
public static Lerp ( Matrix3x2 &start, Matrix3x2 &end, float amount, Matrix3x2 &result ) : void
start Matrix3x2 Start matrix.
end Matrix3x2 End matrix.
amount float Value between 0 and 1 indicating the weight of .
result Matrix3x2 When the method completes, contains the linear interpolation of the two matrices.
리턴 void

Matrix3x2() 공개 메소드

Initializes a new instance of the Matrix3x2 struct.
public Matrix3x2 ( float value ) : System
value float The value that will be assigned to all components.
리턴 System

Matrix3x2() 공개 메소드

Initializes a new instance of the Matrix3x2 struct.
public Matrix3x2 ( float M11, float M12, float M21, float M22, float M31, float M32 ) : System
M11 float The value to assign at row 1 column 1 of the matrix.
M12 float The value to assign at row 1 column 2 of the matrix.
M21 float The value to assign at row 2 column 1 of the matrix.
M22 float The value to assign at row 2 column 2 of the matrix.
M31 float The value to assign at row 3 column 1 of the matrix.
M32 float The value to assign at row 3 column 2 of the matrix.
리턴 System

Multiply() 공개 정적인 메소드

Determines the product of two matrices.
public static Multiply ( Matrix3x2 left, Matrix3x2 right ) : Matrix3x2
left Matrix3x2 The first matrix to multiply.
right Matrix3x2 The second matrix to multiply.
리턴 Matrix3x2

Multiply() 공개 정적인 메소드

Scales a matrix by the given value.
public static Multiply ( Matrix3x2 left, float right ) : Matrix3x2
left Matrix3x2 The matrix to scale.
right float The amount by which to scale.
리턴 Matrix3x2

Multiply() 공개 정적인 메소드

Determines the product of two matrices.
public static Multiply ( Matrix3x2 &left, Matrix3x2 &right, Matrix3x2 &result ) : void
left Matrix3x2 The first matrix to multiply.
right Matrix3x2 The second matrix to multiply.
result Matrix3x2 The product of the two matrices.
리턴 void

Multiply() 공개 정적인 메소드

Scales a matrix by the given value.
public static Multiply ( Matrix3x2 &left, float right, Matrix3x2 &result ) : void
left Matrix3x2 The matrix to scale.
right float The amount by which to scale.
result Matrix3x2 When the method completes, contains the scaled matrix.
리턴 void

Negate() 공개 정적인 메소드

Negates a matrix.
public static Negate ( Matrix3x2 value ) : Matrix3x2
value Matrix3x2 The matrix to be negated.
리턴 Matrix3x2

Negate() 공개 정적인 메소드

Negates a matrix.
public static Negate ( Matrix3x2 &value, Matrix3x2 &result ) : void
value Matrix3x2 The matrix to be negated.
result Matrix3x2 When the method completes, contains the negated matrix.
리턴 void

Rotation() 공개 정적인 메소드

Creates a matrix that rotates.
public static Rotation ( float angle ) : Matrix3x2
angle float Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis.
리턴 Matrix3x2

Rotation() 공개 정적인 메소드

Creates a matrix that rotates about a specified center.
public static Rotation ( float angle, System.Vector2 center ) : Matrix3x2
angle float Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis.
center System.Vector2 The center of the rotation.
리턴 Matrix3x2

Rotation() 공개 정적인 메소드

Creates a matrix that rotates.
public static Rotation ( float angle, Matrix3x2 &result ) : void
angle float Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis.
result Matrix3x2 When the method completes, contains the created rotation matrix.
리턴 void

Rotation() 공개 정적인 메소드

Creates a matrix that rotates about a specified center.
public static Rotation ( float angle, System.Vector2 center, Matrix3x2 &result ) : void
angle float Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis.
center System.Vector2 The center of the rotation.
result Matrix3x2 When the method completes, contains the created rotation matrix.
리턴 void

Scaling() 공개 정적인 메소드

Creates a matrix that scales along the x-axis and y-axis.
public static Scaling ( System.Vector2 scale ) : Matrix3x2
scale System.Vector2 Scaling factor for both axes.
리턴 Matrix3x2

Scaling() 공개 정적인 메소드

Creates a matrix that uniformly scales along both axes.
public static Scaling ( float scale ) : Matrix3x2
scale float The uniform scale that is applied along both axes.
리턴 Matrix3x2

Scaling() 공개 정적인 메소드

Creates a matrix that scales along the x-axis and y-axis.
public static Scaling ( float x, float y ) : Matrix3x2
x float Scaling factor that is applied along the x-axis.
y float Scaling factor that is applied along the y-axis.
리턴 Matrix3x2

Scaling() 공개 정적인 메소드

Creates a matrix that is scaling from a specified center.
public static Scaling ( float x, float y, System.Vector2 center ) : Matrix3x2
x float Scaling factor that is applied along the x-axis.
y float Scaling factor that is applied along the y-axis.
center System.Vector2 The center of the scaling.
리턴 Matrix3x2

Scaling() 공개 정적인 메소드

Creates a matrix that scales along the x-axis and y-axis.
public static Scaling ( System.Vector2 &scale, Matrix3x2 &result ) : void
scale System.Vector2 Scaling factor for both axes.
result Matrix3x2 When the method completes, contains the created scaling matrix.
리턴 void

Scaling() 공개 정적인 메소드

Creates a matrix that uniformly scales along both axes.
public static Scaling ( float scale, Matrix3x2 &result ) : void
scale float The uniform scale that is applied along both axes.
result Matrix3x2 When the method completes, contains the created scaling matrix.
리턴 void

Scaling() 공개 정적인 메소드

Creates a matrix that scales along the x-axis and y-axis.
public static Scaling ( float x, float y, Matrix3x2 &result ) : void
x float Scaling factor that is applied along the x-axis.
y float Scaling factor that is applied along the y-axis.
result Matrix3x2 When the method completes, contains the created scaling matrix.
리턴 void

Scaling() 공개 정적인 메소드

Creates a matrix that is scaling from a specified center.
public static Scaling ( float x, float y, System.Vector2 &center, Matrix3x2 &result ) : void
x float Scaling factor that is applied along the x-axis.
y float Scaling factor that is applied along the y-axis.
center System.Vector2 The center of the scaling.
result Matrix3x2 The created scaling matrix.
리턴 void

Skew() 공개 정적인 메소드

Creates a skew matrix.
public static Skew ( float angleX, float angleY ) : Matrix3x2
angleX float Angle of skew along the X-axis in radians.
angleY float Angle of skew along the Y-axis in radians.
리턴 Matrix3x2

Skew() 공개 정적인 메소드

Creates a skew matrix.
public static Skew ( float angleX, float angleY, Matrix3x2 &result ) : void
angleX float Angle of skew along the X-axis in radians.
angleY float Angle of skew along the Y-axis in radians.
result Matrix3x2 When the method completes, contains the created skew matrix.
리턴 void

SmoothStep() 공개 정적인 메소드

Performs a cubic interpolation between two matrices.
public static SmoothStep ( Matrix3x2 start, Matrix3x2 end, float amount ) : Matrix3x2
start Matrix3x2 Start matrix.
end Matrix3x2 End matrix.
amount float Value between 0 and 1 indicating the weight of .
리턴 Matrix3x2

SmoothStep() 공개 정적인 메소드

Performs a cubic interpolation between two matrices.
public static SmoothStep ( Matrix3x2 &start, Matrix3x2 &end, float amount, Matrix3x2 &result ) : void
start Matrix3x2 Start matrix.
end Matrix3x2 End matrix.
amount float Value between 0 and 1 indicating the weight of .
result Matrix3x2 When the method completes, contains the cubic interpolation of the two matrices.
리턴 void

Subtract() 공개 정적인 메소드

Determines the difference between two matrices.
public static Subtract ( Matrix3x2 left, Matrix3x2 right ) : Matrix3x2
left Matrix3x2 The first matrix to subtract.
right Matrix3x2 The second matrix to subtract.
리턴 Matrix3x2

Subtract() 공개 정적인 메소드

Determines the difference between two matrices.
public static Subtract ( Matrix3x2 &left, Matrix3x2 &right, Matrix3x2 &result ) : void
left Matrix3x2 The first matrix to subtract.
right Matrix3x2 The second matrix to subtract.
result Matrix3x2 When the method completes, contains the difference between the two matrices.
리턴 void

ToArray() 공개 메소드

Creates an array containing the elements of the matrix.
public ToArray ( ) : float[]
리턴 float[]

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( ) : string
리턴 string

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( IFormatProvider formatProvider ) : string
formatProvider IFormatProvider The format provider.
리턴 string

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( string format ) : string
format string The format.
리턴 string

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( string format, IFormatProvider formatProvider ) : string
format string The format.
formatProvider IFormatProvider The format provider.
리턴 string

TransformPoint() 공개 정적인 메소드

Transforms a vector by this matrix.
public static TransformPoint ( Matrix3x2 matrix, System.Vector2 point ) : System.Vector2
matrix Matrix3x2 The matrix to use as a transformation matrix.
point System.Vector2 The original vector to apply the transformation.
리턴 System.Vector2

TransformPoint() 공개 정적인 메소드

Transforms a vector by this matrix.
public static TransformPoint ( Matrix3x2 &matrix, System.Vector2 &point, System.Vector2 &result ) : void
matrix Matrix3x2 The matrix to use as a transformation matrix.
point System.Vector2 The original vector to apply the transformation.
result System.Vector2 The result of the transformation for the input vector.
리턴 void

Transformation() 공개 정적인 메소드

Creates a transformation matrix.
public static Transformation ( float xScale, float yScale, float angle, float xOffset, float yOffset ) : Matrix3x2
xScale float Scaling factor that is applied along the x-axis.
yScale float Scaling factor that is applied along the y-axis.
angle float Angle of rotation in radians.
xOffset float X-coordinate offset.
yOffset float Y-coordinate offset.
리턴 Matrix3x2

Transformation() 공개 정적인 메소드

Creates a transformation matrix.
public static Transformation ( float xScale, float yScale, float angle, float xOffset, float yOffset, Matrix3x2 &result ) : void
xScale float Scaling factor that is applied along the x-axis.
yScale float Scaling factor that is applied along the y-axis.
angle float Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis.
xOffset float X-coordinate offset.
yOffset float Y-coordinate offset.
result Matrix3x2 When the method completes, contains the created transformation matrix.
리턴 void

Translation() 공개 정적인 메소드

Creates a translation matrix using the specified offsets.
public static Translation ( System.Vector2 value ) : Matrix3x2
value System.Vector2 The offset for both coordinate planes.
리턴 Matrix3x2

Translation() 공개 정적인 메소드

Creates a translation matrix using the specified offsets.
public static Translation ( float x, float y ) : Matrix3x2
x float X-coordinate offset.
y float Y-coordinate offset.
리턴 Matrix3x2

Translation() 공개 정적인 메소드

Creates a translation matrix using the specified offsets.
public static Translation ( System.Vector2 &value, Matrix3x2 &result ) : void
value System.Vector2 The offset for both coordinate planes.
result Matrix3x2 When the method completes, contains the created translation matrix.
리턴 void

Translation() 공개 정적인 메소드

Creates a translation matrix using the specified offsets.
public static Translation ( float x, float y, Matrix3x2 &result ) : void
x float X-coordinate offset.
y float Y-coordinate offset.
result Matrix3x2 When the method completes, contains the created translation matrix.
리턴 void

operator() 공개 정적인 메소드

Adds two matrices.
public static operator ( ) : Matrix3x2
리턴 Matrix3x2

operator() 공개 정적인 메소드

Tests for equality between two objects.
public static operator ( ) : bool
리턴 bool

this() 공개 메소드

Gets or sets the component at the specified index.
Thrown when the is out of the range [0, 5].
public this ( int index ) : float
index int The zero-based index of the component to access.
리턴 float

this() 공개 메소드

Gets or sets the component at the specified index.
Thrown when the or is out of the range [0, 3].
public this ( int row, int column ) : float
row int The row of the matrix to access.
column int The column of the matrix to access.
리턴 float

프로퍼티 상세

Identity 공개적으로 정적으로 프로퍼티

Gets the identity matrix.
public static Matrix3x2,Fusion.Core.Mathematics Identity
리턴 Matrix3x2

M11 공개적으로 프로퍼티

Element (1,1)
public float M11
리턴 float

M12 공개적으로 프로퍼티

Element (1,2)
public float M12
리턴 float

M21 공개적으로 프로퍼티

Element (2,1)
public float M21
리턴 float

M22 공개적으로 프로퍼티

Element (2,2)
public float M22
리턴 float

M31 공개적으로 프로퍼티

Element (3,1)
public float M31
리턴 float

M32 공개적으로 프로퍼티

Element (3,2)
public float M32
리턴 float