Class Vignetting
[DataContract("Vignetting")]
public sealed class Vignetting : ColorTransform
- Inheritance
-
Vignetting
- Inherited Members
Constructors
Vignetting()
Initializes a new instance of the Vignetting class.
public Vignetting()
Vignetting(string)
Initializes a new instance of the Vignetting class.
public Vignetting(string effect)
Parameters
effect
string
Properties
Amount
Amount of vignetting (alpha of the halo).
[DataMember(10)]
[DataMemberRange(0, 1, 0.009999999776482582, 0.10000000149011612, 3)]
public float Amount { get; set; }
Property Value
Color
Color of the vignetting halo.
[DataMember(30)]
public Color3 Color { get; set; }
Property Value
Radius
Radius from the center, from which vignetting begins.
[DataMember(20)]
[DataMemberRange(0, 1, 0.009999999776482582, 0.10000000149011612, 3)]
public float Radius { get; set; }
Property Value
Methods
UpdateParameters(ColorTransformContext)
Updates the parameters for this transformation.
public override void UpdateParameters(ColorTransformContext context)
Parameters
context
ColorTransformContextThe context.
Remarks
This method is called just before rendering the ColorTransformGroup that is holding this ColorTransformBase