Пример #1
0
 public FVectorParameterValue(FStructFallback fallback)
 {
     ParameterName  = fallback.GetOrDefault <FName>(nameof(ParameterName));
     ParameterInfo  = fallback.GetOrDefault <FMaterialParameterInfo>(nameof(ParameterInfo));
     ParameterValue = fallback.GetOrDefault <FLinearColor>(nameof(ParameterValue));
     ExpressionGUID = fallback.GetOrDefault <FGuid>(nameof(ExpressionGUID));
 }
Пример #2
0
 public FTextureParameterValue(FStructFallback fallback)
 {
     ParameterName  = fallback.GetOrDefault <FName>(nameof(ParameterName));
     ParameterInfo  = fallback.GetOrDefault <FMaterialParameterInfo>(nameof(ParameterInfo));
     ParameterValue = fallback.GetOrDefault <FPackageIndex>(nameof(ParameterValue));
     ExpressionGUID = fallback.GetOrDefault <FGuid>(nameof(ExpressionGUID));
 }
Пример #3
0
 public FScalarParameterValue(FStructFallback fallback)
 {
     ParameterName  = fallback.GetOrDefault <FName>(nameof(ParameterName));
     ParameterInfo  = fallback.GetOrDefault <FMaterialParameterInfo>(nameof(ParameterInfo));
     ParameterValue = fallback.GetOrDefault <float>(nameof(ParameterValue));
     ExpressionGUID = fallback.GetOrDefault <FGuid>(nameof(ExpressionGUID));
 }
Пример #4
0
 public FVectorParameterValue(FAssetArchive Ar)
 {
     ParameterInfo  = new FMaterialParameterInfo(Ar);
     ParameterValue = Ar.Read <FLinearColor>();
     ExpressionGUID = Ar.Read <FGuid>();
 }
Пример #5
0
 public FTextureParameterValue(FAssetArchive Ar)
 {
     ParameterInfo  = new FMaterialParameterInfo(Ar);
     ParameterValue = new FPackageIndex(Ar);
     ExpressionGUID = Ar.Read <FGuid>();
 }
Пример #6
0
 public FScalarParameterValue(FAssetArchive Ar)
 {
     ParameterInfo  = new FMaterialParameterInfo(Ar);
     ParameterValue = Ar.Read <float>();
     ExpressionGUID = Ar.Read <FGuid>();
 }
Пример #7
0
 public FTextureParameterValue(FStructFallback fallback)
 {
     ParameterName  = fallback.GetOrDefault <FName>(nameof(ParameterName));
     ParameterValue = fallback.GetOrDefault <UTexture>(nameof(ParameterValue));
     ParameterInfo  = fallback.GetOrDefault <FMaterialParameterInfo>(nameof(ParameterInfo));
 }