Skip to content

SpriteComponent.Scale Property

Definition

Namespace: Brine2D.Systems.Rendering

Scale multiplier applied on top of the entity's TransformComponent scale. Supports non-uniform \(squash\-and\-stretch\) scaling per axis.

C#
public System.Numerics.Vector2 Scale { get; set; }

Property Value

System.Numerics.Vector2