  | PackedTexture Constructor (String, Texture2D, Vector2F, Vector2F) | 
 
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxpublic PackedTexture(
	string name,
	Texture2D texture,
	Vector2F offset,
	Vector2F scale
)
Public Sub New ( 
	name As String,
	texture As Texture2D,
	offset As Vector2F,
	scale As Vector2F
)
public:
PackedTexture(
	String^ name, 
	Texture2D^ texture, 
	Vector2F offset, 
	Vector2F scale
)
new : 
        name : string * 
        texture : Texture2D * 
        offset : Vector2F * 
        scale : Vector2F -> PackedTextureParameters
- name
 - Type: SystemString
            The original asset name of the packed texture. Can be  or empty.
             - texture
 - Type: Texture2D
The texture atlas that contains the packed texture. - offset
 - Type: DigitalRune.Mathematics.AlgebraVector2F
The UV offset of the packed texture in the texture atlas. - scale
 - Type: DigitalRune.Mathematics.AlgebraVector2F
The scale of the packed texture relative to the texture atlas. 
Exceptions
See Also