Skip to content

SpriteComponent.Material Property

Definition

Namespace: Brine2D.Systems.Rendering

Optional custom material for this sprite. Stored for use by custom render systems; the built-in SpriteRenderingSystem does not yet switch pipelines based on this value.

C#
public Brine2D.Rendering.IMaterial? Material { get; set; }

Property Value

IMaterial