Skip to main content

OpenTD reference 2026 R1

Class Transformation

Last update: 09.03.2026

Namespace: OpenTD
Assembly: OpenTD.dll

A 3D transformation, described as translation plus up to 3 sequential rotations.

[MessagePackObject(true)]
public class Transformation

Inheritance

object ← Transformation

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

Transformation()

public Transformation()

Transformation(Transformation)

public Transformation(Transformation x)

Parameters

x Transformation

Fields

Axis1

public int Axis1

Field Value

int

Axis2

public int Axis2

Field Value

int

Axis3

public int Axis3

Field Value

int

Rot1

public Dimensional<Angle> Rot1

Field Value

Dimensional<Angle>

Rot2

public Dimensional<Angle> Rot2

Field Value

Dimensional<Angle>

Rot3

public Dimensional<Angle> Rot3

Field Value

Dimensional<Angle>

Tx

public Dimensional<ModelLength> Tx

Field Value

Dimensional<ModelLength>

Ty

public Dimensional<ModelLength> Ty

Field Value

Dimensional<ModelLength>

Tz

public Dimensional<ModelLength> Tz

Field Value

Dimensional<ModelLength>

Properties

Rot1Exp

public ExpressionData Rot1Exp { get; set; }

Property Value

ExpressionData

Rot2Exp

public ExpressionData Rot2Exp { get; set; }

Property Value

ExpressionData

Rot3Exp

public ExpressionData Rot3Exp { get; set; }

Property Value

ExpressionData

TxExp

public ExpressionData TxExp { get; set; }

Property Value

ExpressionData

TyExp

public ExpressionData TyExp { get; set; }

Property Value

ExpressionData

TzExp

public ExpressionData TzExp { get; set; }

Property Value

ExpressionData

Connect with Ansys