Skip to content

UIImage.SetTexture(ITexture, bool) Method

Definition

Namespace: Brine2D.UI

Sets the texture and optionally auto-sizes the component.

public void SetTexture(Brine2D.Rendering.ITexture? texture, bool autoSize=false);

Parameters

texture ITexture

autoSize System.Boolean