mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
11 lines
375 B
C#
11 lines
375 B
C#
using AssetRipper.SourceGenerated.Subclasses.SerializedShaderFloatValue;
|
|
|
|
namespace AssetRipper.SourceGenerated.Extensions
|
|
{
|
|
public static class SerializedShaderFloatValueExtensions
|
|
{
|
|
public static bool IsZero(this ISerializedShaderFloatValue value) => value.Val == 0.0f;
|
|
public static bool IsMax(this ISerializedShaderFloatValue value) => value.Val == 255.0f;
|
|
}
|
|
}
|