Exemple #1
0
 private static extern void Internal_ColorGradientHDR1(ColorGradientHDR managedInstance, ColorGradientKey[] keys);
Exemple #2
0
 private static extern void Internal_ColorGradientHDR(ColorGradientHDR managedInstance);
Exemple #3
0
 private static extern void Internal_ColorGradientHDR0(ColorGradientHDR managedInstance, ref Color color);
Exemple #4
0
 private static extern void Internal_setColorGradient(IntPtr thisPtr, string name, ColorGradientHDR value, int arrayIdx);
Exemple #5
0
 /// <summary>
 /// Assigns a color gradient to the shader parameter with the specified name. The system will automatically evaluate the
 /// gradient with the passage of time and apply the evaluated value to the parameter.
 ///
 /// Optionally if the parameter is an array you may provide an array index to assign the value to.
 /// </summary>
 public void SetColorGradient(string name, ColorGradientHDR value, int arrayIdx = 0)
 {
     Internal_setColorGradient(mCachedPtr, name, value, arrayIdx);
 }
Exemple #6
0
 private static extern void Internal_TColorDistribution3(ColorHDRDistribution managedInstance, ColorGradientHDR minGradient, ColorGradientHDR maxGradient);
Exemple #7
0
 /// <summary>Creates a new distribution that returns a random color in a range determined by two gradients.</summary>
 public ColorHDRDistribution(ColorGradientHDR minGradient, ColorGradientHDR maxGradient)
 {
     Internal_TColorDistribution3(this, minGradient, maxGradient);
 }
Exemple #8
0
 /// <summary>Creates a new distribution that evaluates a color gradient.</summary>
 public ColorHDRDistribution(ColorGradientHDR gradient)
 {
     Internal_TColorDistribution2(this, gradient);
 }