IEntityPortraitView.SetViewport method
Report the display box’s current pixel size so the portrait sizes its render texture + projection to match — it then fills the (resizable) pane top-to-bottom with no letterbox or stretch.
public void SetViewport(int width, int height)See Also
Section titled “See Also”- interface IEntityPortraitView
- namespace Stellar.Abstractions.Services