Class Afterimage
Afterimage simulates the persistence of the bright areas on the retina.
[DataContract("Afterimage")]
public class Afterimage : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
- Inheritance
-
objectAfterimage
- Implements
- Inherited Members
- Extension Methods
Constructors
Afterimage()
Initializes a new instance of the Afterimage class.
public Afterimage()
Properties
FadeOutSpeed
How fast the persistent image fades out.
[DataMember(10)]
[DataMemberRange(0, 1, 0.009999999776482582, 0.10000000149011612, 3)]
public float FadeOutSpeed { get; set; }
Property Value
Sensitivity
How sensitive we are to the bright light.
[DataMember(20)]
public float Sensitivity { get; set; }
Property Value
Methods
Destroy()
Disposes the object's resources.
protected override void Destroy()
Remarks
Override in a derived class to implement disposal logic specific to it.
This method is automatically called whenever a call to Dispose() (or to Release()) has decreased the internal reference count to zero, meaning no other objects (hopefully) hold a reference to this one and its resources can be safely released.
DrawCore(RenderDrawContext)
Main drawing method for this renderer that must be implemented.
protected override void DrawCore(RenderDrawContext context)
Parameters
contextRenderDrawContextThe context.
InitializeCore()
protected override void InitializeCore()