Class Transformation
Last update: 09.03.2026Namespace: OpenTD
Assembly: OpenTD.dll
A 3D transformation, described as translation plus up to 3 sequential rotations.
[MessagePackObject(true)]
public class Transformation
Inheritance
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
Fields
Axis1
public int Axis1
Field Value
Axis2
public int Axis2
Field Value
Axis3
public int Axis3
Field Value
Rot1
public Dimensional<Angle> Rot1
Field Value
Rot2
public Dimensional<Angle> Rot2
Field Value
Rot3
public Dimensional<Angle> Rot3
Field Value
Tx
public Dimensional<ModelLength> Tx
Field Value
Ty
public Dimensional<ModelLength> Ty
Field Value
Tz
public Dimensional<ModelLength> Tz
Field Value
Properties
Rot1Exp
public ExpressionData Rot1Exp { get; set; }
Property Value
Rot2Exp
public ExpressionData Rot2Exp { get; set; }
Property Value
Rot3Exp
public ExpressionData Rot3Exp { get; set; }
Property Value
TxExp
public ExpressionData TxExp { get; set; }
Property Value
TyExp
public ExpressionData TyExp { get; set; }
Property Value
TzExp
public ExpressionData TzExp { get; set; }