RenderTextureHostElement.OnViewportResize property
Optional: called each frame with the box’s current pixel size (w,h) so a 3D preview can size its render texture + projection to the (resizable) pane — fills it with no letterbox/stretch.
public Action<int, int>? OnViewportResize { get; set; }See Also
Section titled “See Also”- record RenderTextureHostElement
- namespace Stellar.Abstractions.Services