Example #1
0
/// <summary>Sets a scalar parameter value on the material collection instance. Logs if ParameterName is invalid.</summary>
        public static void SetScalarParameterValue(UObject WorldContextObject, UMaterialParameterCollection Collection, string ParameterName, float ParameterValue)
        {
            SetScalarParameterValue(IntPtr.Zero, WorldContextObject, Collection, ParameterName, ParameterValue);
        }
Example #2
0
/// <summary>Sets a vector parameter value on the material collection instance. Logs if ParameterName is invalid.</summary>
        public static void SetVectorParameterValue(UObject WorldContextObject, UMaterialParameterCollection Collection, string ParameterName, FLinearColor ParameterValue)
        {
            SetVectorParameterValue(IntPtr.Zero, WorldContextObject, Collection, ParameterName, ref ParameterValue);
        }
Example #3
0
/// <summary>Gets a scalar parameter value from the material collection instance. Logs if ParameterName is invalid.</summary>
        public static float GetScalarParameterValue(UObject WorldContextObject, UMaterialParameterCollection Collection, string ParameterName)
        {
            float ___ret = GetScalarParameterValue(IntPtr.Zero, WorldContextObject, Collection, ParameterName);

            return(___ret);
        }
Example #4
0
/// <summary>Gets a vector parameter value from the material collection instance. Logs if ParameterName is invalid.</summary>
        public static FLinearColor GetVectorParameterValue(UObject WorldContextObject, UMaterialParameterCollection Collection, string ParameterName)
        {
            FLinearColor ___ret = GetVectorParameterValue(IntPtr.Zero, WorldContextObject, Collection, ParameterName);

            return(___ret);
        }
 /// <summary>Gets a vector parameter value from the material collection instance. Logs if ParameterName is invalid.</summary>
 public extern static FLinearColor GetVectorParameterValue(UObject WorldContextObject, UMaterialParameterCollection Collection, FName ParameterName);
 /// <summary>Sets a scalar parameter value on the material collection instance. Logs if ParameterName is invalid.</summary>
 public extern static void SetScalarParameterValue(UObject WorldContextObject, UMaterialParameterCollection Collection, FName ParameterName, float ParameterValue);