Description
Gets or sets the padding surrounding the
Overlays
that are contained within this manager. The array contains the
components of the padding arranged in the order left, top, right,
bottom.
Property type
Read-write property
Syntax
| [Visual Basic .NET] |
Public Property Padding() As Variant()
|
Example
Shows the format of
the screen overlay manager's Padding property.
| [C#] |
Copy Code
|
Array padding = new object[]
{
10,
10,
10,
10
};
sceneManager.ScreenOverlays.Padding = padding;
|
|
Shows the format of
the screen overlay manager's Padding property.
| [Visual Basic .NET] |
Copy Code
|
Dim
padding As Array = New
Object() {10, 10, 10, 10}
sceneManager.ScreenOverlays.Padding = padding
|
|
See Also