ScriptIntrinsicColorMatrix.SetAdd Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetAdd(Float4) |
Set the value to be added after the color matrix has been applied. |
SetAdd(Single, Single, Single, Single) |
Set the value to be added after the color matrix has been applied. |
SetAdd(Float4)
Set the value to be added after the color matrix has been applied.
[Android.Runtime.Register("setAdd", "(Landroid/renderscript/Float4;)V", "")]
public void SetAdd (Android.Renderscripts.Float4? f);
[<Android.Runtime.Register("setAdd", "(Landroid/renderscript/Float4;)V", "")>]
member this.SetAdd : Android.Renderscripts.Float4 -> unit
Parameters
- f
- Float4
The float4 value to be added.
- Attributes
Remarks
Set the value to be added after the color matrix has been applied. The default value is {0, 0, 0, 0}
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
SetAdd(Single, Single, Single, Single)
Set the value to be added after the color matrix has been applied.
[Android.Runtime.Register("setAdd", "(FFFF)V", "")]
public void SetAdd (float r, float g, float b, float a);
[<Android.Runtime.Register("setAdd", "(FFFF)V", "")>]
member this.SetAdd : single * single * single * single -> unit
Parameters
- r
- Single
The red add value.
- g
- Single
The green add value.
- b
- Single
The blue add value.
- a
- Single
The alpha add value.
- Attributes
Remarks
Set the value to be added after the color matrix has been applied. The default value is {0, 0, 0, 0}
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.