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] |
---|
Public Function InitializeWithXYTexture( _ ByVal XPixels As Double, _ ByVal YPixels As Double, _ ByVal Texture As IAgStkGraphicsRendererTexture2D _ ) As IAgStkGraphicsTextureScreenOverlay |
[C#] |
---|
public IAgStkGraphicsTextureScreenOverlay InitializeWithXYTexture( double XPixels, double YPixels, IAgStkGraphicsRendererTexture2D Texture ); |
[Managed C++] |
---|
public: IAgStkGraphicsTextureScreenOverlay^ InitializeWithXYTexture( double XPixels, double YPixels, IAgStkGraphicsRendererTexture2D ^ Texture ); |
[Unmanaged C++] |
---|
public: HRESULT InitializeWithXYTexture( double XPixels, double YPixels, IAgStkGraphicsRendererTexture2D * Texture, IAgStkGraphicsTextureScreenOverlay ** ppRetVal ); |
[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.