Table of Contents

Struct PrefabTransform

Namespace
Axolotl2D.Prefabs
Assembly
Axolotl2D.dll

Local transform values stored by a prefab.

public readonly record struct PrefabTransform : IEquatable<PrefabTransform>
Implements
Inherited Members

Constructors

PrefabTransform(Vector2, float, Vector2)

Local transform values stored by a prefab.

public PrefabTransform(Vector2 Position, float Rotation, Vector2 Scale)

Parameters

Position Vector2
Rotation float
Scale Vector2

Properties

Position

public Vector2 Position { get; init; }

Property Value

Vector2

Rotation

public float Rotation { get; init; }

Property Value

float

Scale

public Vector2 Scale { get; init; }

Property Value

Vector2