Description
Initializes the overlay with a specified
background texture. The size of the overlay will be the same as the
size of the texture.
Syntax
| [Visual Basic .NET] |
|---|
Public Function InitializeWithXYTexture( _
ByVal XPixels As Double, _
ByVal YPixels As Double, _
ByVal Texture As IAgStkGraphicsRendererTexture2D _
) As IAgStkGraphicsTextureScreenOverlay
|
Parameters
- XPixels
- The X position of the panel in pixels.
- YPixels
- The Y position of the panel in pixels.
- Texture
- The texture (image) to be drawn on the overlay. Textures can be obtained from SceneManager.Textures.