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(
|
[Managed C++] |
---|
public: IAgStkGraphicsTextureScreenOverlay^ InitializeWithXYTexture(
|
[Java] |
---|
public IAgStkGraphicsTextureScreenOverlay initializeWithXYTexture(
|
[Unmanaged C++] |
---|
public: HRESULT InitializeWithXYTexture(
|
- 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.