|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Matrix | |
---|---|
Microsoft.Xna.Framework | |
Microsoft.Xna.Framework.Graphics | |
Microsoft.Xna.Framework.Net |
Uses of Matrix in Microsoft.Xna.Framework |
---|
Fields in Microsoft.Xna.Framework declared as Matrix | |
---|---|
static Matrix |
Matrix.Identity
Returns an instance of the identity matrix. |
Methods in Microsoft.Xna.Framework that return Matrix | |
---|---|
static Matrix |
Matrix.Add(Matrix matrix1,
Matrix matrix2)
Adds a matrix to another matrix. |
static Matrix |
Matrix.CreateBillboard(Vector3 objectPosition,
Vector3 cameraPosition,
Vector3 cameraUpVector,
Vector3 cameraForwardVector)
Creates a spherical billboard that rotates around a specified object position. |
static Matrix |
Matrix.CreateConstrainedBillboard(Vector3 objectPosition,
Vector3 cameraPosition,
Vector3 rotateAxis,
Vector3 cameraForwardVector,
Vector3 objectForwardVector)
Creates a cylindrical billboard that rotates around a specified axis. |
static Matrix |
Matrix.CreateFromAxisAngle(Vector3 axis,
float angle)
Creates a new Matrix that rotates around an arbitrary vector. |
static Matrix |
Matrix.CreateFromQuaternion(Quaternion quaternion)
Creates a rotation Matrix from a Quaternion. |
static Matrix |
Matrix.CreateFromYawPitchRoll(float yaw,
float pitch,
float roll)
Creates a new rotation matrix from a specified yaw, pitch, and roll. |
static Matrix |
Matrix.CreateLookAt(Vector3 cameraPosition,
Vector3 cameraTarget,
Vector3 cameraUpVector)
Creates a view matrix. |
static Matrix |
Matrix.CreateOrthographic(float width,
float height,
float zNearPlane,
float zFarPlane)
Builds an orthogonal projection matrix. |
static Matrix |
Matrix.CreateOrthographicOffCenter(float left,
float right,
float bottom,
float top,
float zNearPlane,
float zFarPlane)
Builds a customized, orthogonal projection matrix. |
static Matrix |
Matrix.CreatePerspective(float width,
float height,
float nearPlaneDistance,
float farPlaneDistance)
Builds a perspective projection matrix and returns the result by value. |
static Matrix |
Matrix.CreatePerspectiveFieldOfView(float fieldOfView,
float aspectRatio,
float nearPlaneDistance,
float farPlaneDistance)
Builds a perspective projection matrix based on a field of view and returns by value. |
static Matrix |
Matrix.CreatePerspectiveOffCenter(float left,
float right,
float bottom,
float top,
float nearPlaneDistance,
float farPlaneDistance)
Builds a customized, perspective projection matrix. |
static Matrix |
Matrix.CreateReflection(Plane value)
Creates a Matrix that reflects the coordinate system about a specified Plane. |
static Matrix |
Matrix.CreateRotationX(float radians)
Returns a matrix that can be used to rotate a set of vertices around the x-axis. |
static Matrix |
Matrix.CreateRotationY(float radians)
Returns a matrix that can be used to rotate a set of vertices around the y-axis. |
static Matrix |
Matrix.CreateRotationZ(float radians)
Returns a matrix that can be used to rotate a set of vertices around the z-axis. |
static Matrix |
Matrix.CreateScale(float scale)
Creates a scaling Matrix. |
static Matrix |
Matrix.CreateScale(float xScale,
float yScale,
float zScale)
Creates a scaling Matrix. |
static Matrix |
Matrix.CreateScale(Vector3 scales)
Creates a scaling Matrix. |
static Matrix |
Matrix.CreateShadow(Vector3 lightDirection,
Plane plane)
Creates a Matrix that flattens geometry into a specified Plane as if casting a shadow from a specified light source. |
static Matrix |
Matrix.CreateTranslation(float xPosition,
float yPosition,
float zPosition)
Creates a translation Matrix. |
static Matrix |
Matrix.CreateTranslation(Vector3 position)
Creates a translation Matrix. |
static Matrix |
Matrix.CreateWorld(Vector3 position,
Vector3 forward,
Vector3 up)
Creates a world matrix with the specified parameters. |
static Matrix |
Matrix.Divide(Matrix matrix1,
float divider)
Divides the components of a matrix by a scalar. |
static Matrix |
Matrix.Divide(Matrix matrix1,
Matrix matrix2)
Divides the components of a matrix by the corresponding components of another matrix. |
static Matrix |
Matrix.Invert(Matrix matrix)
Calculates the inverse of a matrix. |
static Matrix |
Matrix.Lerp(Matrix matrix1,
Matrix matrix2,
float amount)
Linearly interpolates between the corresponding values of two matrices. |
static Matrix |
Matrix.Multiply(Matrix matrix1,
float scaleFactor)
Multiplies a matrix by a scalar value. |
static Matrix |
Matrix.Multiply(Matrix matrix1,
Matrix matrix2)
Multiplies a matrix by another matrix. |
static Matrix |
Matrix.Negate(Matrix matrix)
Negates individual elements of a matrix. |
static Matrix |
Matrix.Subtract(Matrix matrix1,
Matrix matrix2)
Subtracts matrices. |
static Matrix |
Matrix.Transform(Matrix value,
Quaternion rotation)
Transforms a Matrix by applying a Quaternion rotation. |
static Matrix |
Matrix.Transpose(Matrix matrix)
Transposes the rows and columns of a matrix. |
Methods in Microsoft.Xna.Framework with parameters of type Matrix | |
---|---|
void |
Matrix.Add(Matrix other)
Adds the current matrix to another matrix. |
static Matrix |
Matrix.Add(Matrix matrix1,
Matrix matrix2)
Adds a matrix to another matrix. |
static void |
Matrix.Add(Matrix matrix1,
Matrix matrix2,
Matrix result)
Adds a matrix to another matrix. |
static void |
Matrix.CreateBillboard(Vector3 objectPosition,
Vector3 cameraPosition,
Vector3 cameraUpVector,
Vector3 cameraForwardVector,
Matrix result)
Creates a spherical billboard that rotates around a specified object position. |
static void |
Matrix.CreateConstrainedBillboard(Vector3 objectPosition,
Vector3 cameraPosition,
Vector3 rotateAxis,
Vector3 cameraForwardVector,
Vector3 objectForwardVector,
Matrix result)
Creates a cylindrical billboard that rotates around a specified axis. |
static void |
Matrix.CreateFromAxisAngle(Vector3 axis,
float angle,
Matrix result)
Creates a new Matrix that rotates around an arbitrary vector. |
static void |
Matrix.CreateFromQuaternion(Quaternion quaternion,
Matrix result)
Creates a rotation Matrix from a Quaternion. |
static Quaternion |
Quaternion.CreateFromRotationMatrix(Matrix matrix)
Creates a Quaternion from a rotation Matrix. |
static void |
Quaternion.CreateFromRotationMatrix(Matrix matrix,
Quaternion result)
Creates a Quaternion from a rotation Matrix. |
static void |
Matrix.CreateFromYawPitchRoll(float yaw,
float pitch,
float roll,
Matrix result)
Creates a new rotation matrix from a specified yaw, pitch, and roll. |
static void |
Matrix.CreateLookAt(Vector3 cameraPosition,
Vector3 cameraTarget,
Vector3 cameraUpVector,
Matrix result)
Creates a view matrix. |
static void |
Matrix.CreateOrthographic(float width,
float height,
float zNearPlane,
float zFarPlane,
Matrix result)
Builds an orthogonal projection matrix. |
static void |
Matrix.CreateOrthographicOffCenter(float left,
float right,
float bottom,
float top,
float zNearPlane,
float zFarPlane,
Matrix result)
Builds a customized, orthogonal projection matrix. |
static void |
Matrix.CreatePerspective(float width,
float height,
float nearPlaneDistance,
float farPlaneDistance,
Matrix result)
Builds a perspective projection matrix and returns the result by reference. |
static void |
Matrix.CreatePerspectiveFieldOfView(float fieldOfView,
float aspectRatio,
float nearPlaneDistance,
float farPlaneDistance,
Matrix result)
Builds a perspective projection matrix based on a field of view and returns by reference. |
static void |
Matrix.CreatePerspectiveOffCenter(float left,
float right,
float bottom,
float top,
float nearPlaneDistance,
float farPlaneDistance,
Matrix result)
Builds a customized, perspective projection matrix. |
static void |
Matrix.CreateReflection(Plane value,
Matrix result)
Creates a Matrix that reflects the coordinate system about a specified Plane. |
static void |
Matrix.CreateRotationX(float radians,
Matrix result)
Populates data into a user-specified matrix that can be used to rotate a set of vertices around the x-axis. |
static void |
Matrix.CreateRotationY(float radians,
Matrix result)
Populates data into a user-specified matrix that can be used to rotate a set of vertices around the y-axis. |
static void |
Matrix.CreateRotationZ(float radians,
Matrix result)
Populates data into a user-specified matrix that can be used to rotate a set of vertices around the z-axis. |
static void |
Matrix.CreateScale(float xScale,
float yScale,
float zScale,
Matrix result)
Creates a scaling Matrix. |
static void |
Matrix.CreateScale(float scale,
Matrix result)
Creates a scaling Matrix. |
static void |
Matrix.CreateScale(Vector3 scales,
Matrix result)
Creates a scaling Matrix. |
static void |
Matrix.CreateShadow(Vector3 lightDirection,
Plane plane,
Matrix result)
Fills in a Matrix to flatten geometry into a specified Plane as if casting a shadow from a specified light source. |
static void |
Matrix.CreateTranslation(float xPosition,
float yPosition,
float zPosition,
Matrix result)
Creates a translation Matrix. |
static void |
Matrix.CreateTranslation(Vector3 position,
Matrix result)
Creates a translation Matrix. |
static void |
Matrix.CreateWorld(Vector3 position,
Vector3 forward,
Vector3 up,
Matrix result)
Creates a world matrix with the specified parameters. |
void |
Matrix.Divide(Matrix other)
Divides the components of the current matrix by the corresponding components of another matrix. |
static Matrix |
Matrix.Divide(Matrix matrix1,
float divider)
Divides the components of a matrix by a scalar. |
static void |
Matrix.Divide(Matrix matrix1,
float divider,
Matrix result)
Divides the components of a matrix by a scalar. |
static Matrix |
Matrix.Divide(Matrix matrix1,
Matrix matrix2)
Divides the components of a matrix by the corresponding components of another matrix. |
static void |
Matrix.Divide(Matrix matrix1,
Matrix matrix2,
Matrix result)
Divides the components of a matrix by the corresponding components of another matrix. |
boolean |
Matrix.Equals(Matrix other)
Determines whether the specified Object is equal to the Matrix. |
static Matrix |
Matrix.Invert(Matrix matrix)
Calculates the inverse of a matrix. |
static void |
Matrix.Invert(Matrix matrix,
Matrix result)
Calculates the inverse of a matrix. |
static Matrix |
Matrix.Lerp(Matrix matrix1,
Matrix matrix2,
float amount)
Linearly interpolates between the corresponding values of two matrices. |
static void |
Matrix.Lerp(Matrix matrix1,
Matrix matrix2,
float amount,
Matrix result)
Linearly interpolates between the corresponding values of two matrices. |
void |
Matrix.Multiply(Matrix other)
Multiplies the current matrix by another matrix. |
static Matrix |
Matrix.Multiply(Matrix matrix1,
float scaleFactor)
Multiplies a matrix by a scalar value. |
static void |
Matrix.Multiply(Matrix matrix1,
float scaleFactor,
Matrix result)
Multiplies a matrix by a scalar value. |
static Matrix |
Matrix.Multiply(Matrix matrix1,
Matrix matrix2)
Multiplies a matrix by another matrix. |
static void |
Matrix.Multiply(Matrix matrix1,
Matrix matrix2,
Matrix result)
Multiplies a matrix by another matrix. |
static Matrix |
Matrix.Negate(Matrix matrix)
Negates individual elements of a matrix. |
static void |
Matrix.Negate(Matrix matrix,
Matrix result)
Negates individual elements of a matrix. |
void |
Matrix.Subtract(Matrix other)
Subtracts the specified matrix from the current matrix. |
static Matrix |
Matrix.Subtract(Matrix matrix1,
Matrix matrix2)
Subtracts matrices. |
static void |
Matrix.Subtract(Matrix matrix1,
Matrix matrix2,
Matrix result)
Subtracts matrices. |
BoundingSphere |
BoundingSphere.Transform(Matrix matrix)
Translates and scales the BoundingSphere using a given Matrix. |
void |
BoundingSphere.Transform(Matrix matrix,
BoundingSphere result)
Translates and scales the BoundingSphere using a given Matrix. |
static Matrix |
Matrix.Transform(Matrix value,
Quaternion rotation)
Transforms a Matrix by applying a Quaternion rotation. |
static void |
Matrix.Transform(Matrix value,
Quaternion rotation,
Matrix result)
Transforms a Matrix by applying a Quaternion rotation. |
static Plane |
Plane.Transform(Plane plane,
Matrix matrix)
Transforms a normalized Plane by a Matrix. |
static void |
Plane.Transform(Plane plane,
Matrix matrix,
Plane result)
Transforms a normalized Plane by a Matrix. |
static void |
Vector2.Transform(Vector2[] sourceArray,
int sourceIndex,
Matrix matrix,
Vector2[] destinationArray,
int destinationIndex,
int length)
Transforms a specified range in an array of Vector2s by a specified Matrix and places the results in a specified range in a destination array. |
static void |
Vector2.Transform(Vector2[] sourceArray,
Matrix matrix,
Vector2[] destinationArray)
Transforms an array of Vector2s by a specified Matrix. |
static Vector4 |
Vector4.Transform(Vector2 position,
Matrix matrix)
Transforms a Vector2 by the given Matrix. |
static Vector2 |
Vector2.Transform(Vector2 position,
Matrix matrix)
Transforms the vector (x, y, 0, 1) by the specified matrix. |
static void |
Vector2.Transform(Vector2 position,
Matrix matrix,
Vector2 result)
Transforms the vector (x, y, 0, 1) by the specified matrix. |
static void |
Vector4.Transform(Vector2 position,
Matrix matrix,
Vector4 result)
Transforms a Vector2 by the given Matrix. |
static void |
Vector3.Transform(Vector3[] sourceArray,
int sourceIndex,
Matrix matrix,
Vector3[] destinationArray,
int destinationIndex,
int length)
Applies a specified transform Matrix to a specified range of an array of Vector3s and writes the results into a specified range of a destination array. |
static void |
Vector3.Transform(Vector3[] sourceArray,
Matrix matrix,
Vector3[] destinationArray)
Transforms a source array of Vector3s by a specified Matrix and writes the results to an existing destination array. |
static Vector4 |
Vector4.Transform(Vector3 position,
Matrix matrix)
Transforms a Vector3 by the given Matrix. |
static Vector3 |
Vector3.Transform(Vector3 position,
Matrix matrix)
Transforms a 3D vector by the given matrix. |
static void |
Vector3.Transform(Vector3 position,
Matrix matrix,
Vector3 result)
Transforms a Vector3 by the given Matrix. |
static void |
Vector4.Transform(Vector3 position,
Matrix matrix,
Vector4 result)
Transforms a Vector3 by the given Matrix. |
static void |
Vector4.Transform(Vector4[] sourceArray,
int sourceIndex,
Matrix matrix,
Vector4[] destinationArray,
int destinationIndex,
int length)
Transforms a specified range in an array of Vector4s by a specified Matrix into a specified range in a destination array. |
static void |
Vector4.Transform(Vector4[] sourceArray,
Matrix matrix,
Vector4[] destinationArray)
Transforms an array of Vector4s by a specified Matrix. |
static Vector4 |
Vector4.Transform(Vector4 vector,
Matrix matrix)
Transforms a Vector4 by the specified Matrix. |
static void |
Vector4.Transform(Vector4 vector,
Matrix matrix,
Vector4 result)
Transforms a Vector4 by the given Matrix. |
static void |
Vector2.TransformNormal(Vector2[] sourceArray,
int sourceIndex,
Matrix matrix,
Vector2[] destinationArray,
int destinationIndex,
int length)
Transforms a specified range in an array of Vector2 vector normals by a specified Matrix and places the results in a specified range in a destination array. |
static void |
Vector2.TransformNormal(Vector2[] sourceArray,
Matrix matrix,
Vector2[] destinationArray)
Transforms an array of Vector2 vector normals by a specified Matrix. |
static Vector2 |
Vector2.TransformNormal(Vector2 normal,
Matrix matrix)
Transforms a 2D vector normal by a matrix. |
static void |
Vector2.TransformNormal(Vector2 normal,
Matrix matrix,
Vector2 result)
Transforms a vector normal by a matrix. |
static void |
Vector3.TransformNormal(Vector3[] sourceArray,
int sourceIndex,
Matrix matrix,
Vector3[] destinationArray,
int destinationIndex,
int length)
Transforms a specified range in an array of 3D vector normals by a specified Matrix and writes the results to a specified range in a destination array. |
static void |
Vector3.TransformNormal(Vector3[] sourceArray,
Matrix matrix,
Vector3[] destinationArray)
Transforms an array of 3D vector normals by a specified Matrix. |
static Vector3 |
Vector3.TransformNormal(Vector3 normal,
Matrix matrix)
Transforms a 3D vector normal by a matrix. |
static void |
Vector3.TransformNormal(Vector3 normal,
Matrix matrix,
Vector3 result)
Transforms a vector normal by a matrix. |
static Matrix |
Matrix.Transpose(Matrix matrix)
Transposes the rows and columns of a matrix. |
static void |
Matrix.Transpose(Matrix matrix,
Matrix result)
Transposes the rows and columns of a matrix. |
Uses of Matrix in Microsoft.Xna.Framework.Graphics |
---|
Methods in Microsoft.Xna.Framework.Graphics with parameters of type Matrix | |
---|---|
void |
SpriteBatch.Begin(SpriteSortMode sortMode,
BlendState blendState,
SamplerState samplerState,
DepthStencilState depthStencilState,
RasterizerState rasterizerState,
Effect effect,
Matrix transformMatrix)
Begins a sprite batch operation using the specified sort, blend, sampler, depth stencil, rasterizer state objects, plus a custom effect and a 2D transformation matrix. |
Vector3 |
Viewport.Project(Vector3 source,
Matrix projection,
Matrix view,
Matrix world)
Projects a 3D vector from object space into screen space. |
Vector3 |
Viewport.Unproject(Vector3 source,
Matrix projection,
Matrix view,
Matrix world)
Converts a screen space point into a corresponding point in world space. |
Uses of Matrix in Microsoft.Xna.Framework.Net |
---|
Methods in Microsoft.Xna.Framework.Net that return Matrix | |
---|---|
Matrix |
PacketReader.ReadMatrix()
Reads a Matrix value. |
Methods in Microsoft.Xna.Framework.Net with parameters of type Matrix | |
---|---|
void |
PacketWriter.Write(Matrix value)
Writes a Matrix value to an outgoing network packet. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |