Click or drag to resize
Ab4d.SharpEngine logo

OverlayPanelBaseGetPanelViewport(Boolean, Boolean) Method

Gets the position and size of this overlay panel in the parentSceneView.

Namespace: Ab4d.SharpEngine.OverlayPanels
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public (Vector2 position, Vector2 size) GetPanelViewport(
	bool adjustByDpiScale,
	bool adjustBySupersamplingFactor
)

Parameters

adjustByDpiScale  Boolean
adjustByDpiScale (true by default)
adjustBySupersamplingFactor  Boolean
adjustBySupersamplingFactor (true by default)

Return Value

ValueTupleVector2, Vector2
position and size of this overlay panel in the parentSceneView
See Also