Struct FeModel.FeTransform ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Softbody
Assembly: ValveResourceFormat.dll
A CTransform: a position, uniform scale and orientation.
csharp
public readonly record struct FeModel.FeTransform : IEquatable<FeModel.FeTransform>Implements ​
IEquatable<FeModel.FeTransform>
Constructors ​
FeTransform(Vector3, float, Quaternion) ​
A CTransform: a position, uniform scale and orientation.
csharp
public FeTransform(Vector3 Position, float Scale, Quaternion Orientation)Parameters ​
Position Vector3
The translation.
Scale float
The uniform scale.
Orientation Quaternion
The rotation.
Properties ​
Identity ​
Gets the identity transform.
csharp
public static FeModel.FeTransform Identity { get; }Property Value ​
Orientation ​
The rotation.
csharp
public Quaternion Orientation { get; init; }Property Value ​
Position ​
The translation.
csharp
public Vector3 Position { get; init; }Property Value ​
Scale ​
The uniform scale.
csharp
public float Scale { get; init; }
