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));
 }
 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));
 }
Beispiel #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));
 }
 public FVectorParameterValue(FAssetArchive Ar)
 {
     ParameterInfo  = new FMaterialParameterInfo(Ar);
     ParameterValue = Ar.Read <FLinearColor>();
     ExpressionGUID = Ar.Read <FGuid>();
 }
 public FTextureParameterValue(FAssetArchive Ar)
 {
     ParameterInfo  = new FMaterialParameterInfo(Ar);
     ParameterValue = new FPackageIndex(Ar);
     ExpressionGUID = Ar.Read <FGuid>();
 }
Beispiel #6
0
 public FScalarParameterValue(FAssetArchive Ar)
 {
     ParameterInfo  = new FMaterialParameterInfo(Ar);
     ParameterValue = Ar.Read <float>();
     ExpressionGUID = Ar.Read <FGuid>();
 }
Beispiel #7
0
 public FTextureParameterValue(FStructFallback fallback)
 {
     ParameterName  = fallback.GetOrDefault <FName>(nameof(ParameterName));
     ParameterValue = fallback.GetOrDefault <UTexture>(nameof(ParameterValue));
     ParameterInfo  = fallback.GetOrDefault <FMaterialParameterInfo>(nameof(ParameterInfo));
 }