Description
Initializes the overlay with the specified
position and size.
Syntax
Parameters
Example
Shows the format of
the Position and Size parameters when creating a screen overlay.
[C#] |
Copy Code
|
Array position = new object[]
{
0,
0,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels
};
Array size = new object[]
{
100,
200,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels
};
IAgStkGraphicsScreenOverlay screenOverlay = sceneManager.Initializers.ScreenOverlay.InitializeWithPosAndSize(ref position, ref size);
|
|
Shows the format of
the Position and Size parameters when creating a screen overlay.
[Visual Basic .NET] |
Copy Code
|
Dim position As
Array = New Object() {0, 0,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels}
Dim size As Array =
New Object() {100, 200,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels}
Dim screenOverlay As IAgStkGraphicsScreenOverlay =
sceneManager.Initializers.ScreenOverlay.InitializeWithPosAndSize(position,
size)
|
|
See Also