ScaleComponent

Namespace: Murder.Components.Graphics
Assembly: Murder.dll

public sealed struct ScaleComponent : IComponent

Implements: IComponent

⭐ Constructors

public ScaleComponent(float scaleX, float scaleY)

Parameters
scaleX float
scaleY float

public ScaleComponent(Vector2 scale)

Parameters
scale Vector2

⭐ Properties

Scale

public readonly Vector2 Scale;

Returns
Vector2