![]() | RenderTransform Methods |
The RenderTransform type exposes the following members.
Name | Description | |
---|---|---|
![]() | Draw(SpriteBatch, Texture2D, Vector2F, Color) |
Transforms a sprite and adds it to a batch of sprites for rendering using the specified
texture, position and color.
|
![]() | Draw(SpriteBatch, Texture2D, RectangleF, NullableRectangle, Color) |
Transforms a sprite and adds it to a batch of sprites for rendering using the specified
texture, position, source rectangle and color.
|
![]() | Draw(SpriteBatch, Texture2D, Vector2F, NullableRectangle, Color) |
Transforms a sprite and adds it to a batch of sprites for rendering using the specified
texture, position, source rectangle and color.
|
![]() | DrawString(SpriteBatch, SpriteFont, String, Vector2F, Color) |
Transforms a string and adds it to a batch of sprites for rendering using the specified
font, text, position, and color.
|
![]() | DrawString(SpriteBatch, SpriteFont, StringBuilder, Vector2F, Color) |
Transforms a string and adds it to a batch of sprites for rendering using the specified
font, text, position, and color.
|
![]() | Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).) |
![]() | Equals(RenderTransform) |
Indicates whether the current object is equal to another object of the same type.
|
![]() | FromRenderDirection |
Transforms a direction by the inverse of this render transformation.
|
![]() | FromRenderPosition |
Transforms a position by the inverse of this render transformation.
|
![]() | GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Multiply |
Multiplies two render transformation.
|
![]() | ToMatrix22F |
Converts this render transformation to a 2x2 matrix that only represents the scaling and the
rotation (no translation).
|
![]() | ToMatrix33F |
Converts this render transformation to a 3x3 matrix.
|
![]() | ToRenderDirection |
Transforms a direction.
|
![]() | ToRenderPosition |
Transforms a position.
|
![]() | ToString |
Returns the string representation of this render transform.
(Overrides ValueTypeToString.) |
![]() | ToString(IFormatProvider) |
Returns the string representation of this pose using the specified culture-specific format
information.
|
![]() | Transform |
Transforms the specified rectangle. (Does not work with rotations!)
|