Click or drag to resize
DigitalRuneRenderTransform Methods

The RenderTransform type exposes the following members.

Methods
  NameDescription
Public methodDraw(SpriteBatch, Texture2D, Vector2F, Color)
Transforms a sprite and adds it to a batch of sprites for rendering using the specified texture, position and color.
Public methodDraw(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.
Public methodDraw(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.
Public methodDrawString(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.
Public methodDrawString(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.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(RenderTransform)
Indicates whether the current object is equal to another object of the same type.
Public methodFromRenderDirection
Transforms a direction by the inverse of this render transformation.
Public methodFromRenderPosition
Transforms a position by the inverse of this render transformation.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberMultiply
Multiplies two render transformation.
Public methodToMatrix22F
Converts this render transformation to a 2x2 matrix that only represents the scaling and the rotation (no translation).
Public methodToMatrix33F
Converts this render transformation to a 3x3 matrix.
Public methodToRenderDirection
Transforms a direction.
Public methodToRenderPosition
Transforms a position.
Public methodToString
Returns the string representation of this render transform.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Returns the string representation of this pose using the specified culture-specific format information.
Public methodTransform
Transforms the specified rectangle. (Does not work with rotations!)
Top
See Also