Initializes the overlay with a specified background texture. The size of the overlay will be the same as the size of the texture.
| [Visual Basic .NET] |
|---|
|
| [C#] |
|---|
public IAgStkGraphicsTextureScreenOverlay InitializeWithXYTexture( double XPixels, double YPixels, IAgStkGraphicsRendererTexture2D Texture ); |
| [Managed C++] |
|---|
public: IAgStkGraphicsTextureScreenOverlay^ InitializeWithXYTexture( double XPixels, double YPixels, IAgStkGraphicsRendererTexture2D ^ Texture ); |
| [Unmanaged C++] |
|---|
|
| [Java] |
|---|
public IAgStkGraphicsTextureScreenOverlay initializeWithXYTexture( double XPixels, double YPixels, IAgStkGraphicsRendererTexture2D Texture ); |
[Python - STK API ] |
|---|
def InitializeWithXYTexture(self, XPixels:float, YPixels:float, Texture:"IAgStkGraphicsRendererTexture2D") -> "IAgStkGraphicsTextureScreenOverlay": |
- 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.






