Struct TrackCompressionSetting ​
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation2
Assembly: ValveResourceFormat.dll
Represents compression settings for an animation track.
csharp
public record struct TrackCompressionSetting : IEquatable<TrackCompressionSetting>Implements ​
IEquatable<TrackCompressionSetting>
Constructors ​
TrackCompressionSetting(QuantizationRange, QuantizationRange, QuantizationRange, QuantizationRange, Quaternion, bool, bool, bool) ​
Represents compression settings for an animation track.
csharp
public TrackCompressionSetting(QuantizationRange TranslationRangeX, QuantizationRange TranslationRangeY, QuantizationRange TranslationRangeZ, QuantizationRange ScaleRange, Quaternion ConstantRotation, bool IsRotationStatic, bool IsTranslationStatic, bool IsScaleStatic)Parameters ​
TranslationRangeX QuantizationRange
TranslationRangeY QuantizationRange
TranslationRangeZ QuantizationRange
ScaleRange QuantizationRange
ConstantRotation Quaternion
IsRotationStatic bool
IsTranslationStatic bool
IsScaleStatic bool
Properties ​
ConstantRotation ​
csharp
public Quaternion ConstantRotation { readonly get; set; }Property Value ​
IsRotationStatic ​
csharp
public bool IsRotationStatic { readonly get; set; }Property Value ​
IsScaleStatic ​
csharp
public bool IsScaleStatic { readonly get; set; }Property Value ​
IsTranslationStatic ​
csharp
public bool IsTranslationStatic { readonly get; set; }Property Value ​
ScaleRange ​
csharp
public QuantizationRange ScaleRange { readonly get; set; }Property Value ​
TranslationRangeX ​
csharp
public QuantizationRange TranslationRangeX { readonly get; set; }Property Value ​
TranslationRangeY ​
csharp
public QuantizationRange TranslationRangeY { readonly get; set; }Property Value ​
TranslationRangeZ ​
csharp
public QuantizationRange TranslationRangeZ { readonly get; set; }
