AGI STK Graphics 11 Send comments on this topic.
InitializeWithXYTexture Method (IAgStkGraphicsTextureScreenOverlayFactory)
See Also 
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.





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

[C#]
public IAgStkGraphicsTextureScreenOverlay InitializeWithXYTexture(
double XPixels,
double YPixels,
IAgStkGraphicsRendererTexture2D Texture
);

[Managed C++]
public: IAgStkGraphicsTextureScreenOverlay^ InitializeWithXYTexture(
double XPixels,
double YPixels,
IAgStkGraphicsRendererTexture2D ^ Texture
);

[Java]
public IAgStkGraphicsTextureScreenOverlay initializeWithXYTexture(
double XPixels,
double YPixels,
IAgStkGraphicsRendererTexture2D Texture
);

[Unmanaged C++]
public: HRESULT InitializeWithXYTexture(
double XPixels,
double YPixels,
IAgStkGraphicsRendererTexture2D * Texture,
IAgStkGraphicsTextureScreenOverlay ** ReturnValue
);

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.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1