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 InitializeWithPositionTexture( _ ByRef Position As System.Array, _ ByVal Texture As IAgStkGraphicsRendererTexture2D _ ) As IAgStkGraphicsTextureScreenOverlay |
| [C#] |
|---|
public IAgStkGraphicsTextureScreenOverlay InitializeWithPositionTexture( |
| [Managed C++] |
|---|
public: IAgStkGraphicsTextureScreenOverlay^ InitializeWithPositionTexture( |
| [Java] |
|---|
public IAgStkGraphicsTextureScreenOverlay initializeWithPositionTexture( |
| [Unmanaged C++] |
|---|
public: HRESULT InitializeWithPositionTexture( |
- Position
- An array with a size of 4 that represents the position of the overlay. The elements are in the order x position, y position, x Screen Overlay Unit, y Screen Overlay Unit.
- Texture
- The texture (image) to be drawn on the overlay. Textures can be obtained from SceneManager.Textures.
Shows the format of the Position and Size parameters when creating a texture screen overlay.
| [C#] | Copy Code | |
|---|---|---|
| ||
Shows the format of the Position and Size parameters when creating a texture screen overlay.
| [Visual Basic .NET] | Copy Code | |
|---|---|---|
| ||
