TextureScreenOverlay Constructor (ScreenOverlayPoint, Texture2D) | 
 
Initializes the overlay with a specified background texture.  The size of the overlay will
be the same as the size of the texture.
 
    Namespace: 
   AGI.Foundation.Graphics
    Assembly:
   AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic TextureScreenOverlay(
	ScreenOverlayPoint position,
	Texture2D texture
)
Public Sub New ( 
	position As ScreenOverlayPoint,
	texture As Texture2D
)
public:
TextureScreenOverlay(
	ScreenOverlayPoint position, 
	Texture2D^ texture
)
new : 
        position : ScreenOverlayPoint * 
        texture : Texture2D -> TextureScreenOverlayParameters
- position
 - Type: AGI.Foundation.Graphics.AdvancedScreenOverlayPoint
The position of the overlay. - texture
 - Type: AGI.Foundation.Graphics.RendererTexture2D
The texture (image) to be drawn on the overlay.  Textures can be obtained from
SceneManager.Textures.
 
See Also