Afterimage Class
Namespace: Stride.Rendering.ImagesAssembly: Stride.Rendering.dll
Afterimage simulates the persistence of the bright areas on the retina.
System.Object → DisposeBase → ComponentBase → RendererCoreBase → RendererBase → DrawEffect → ImageEffect →
Afterimage
Derived from Afterimage:
[DataContract("Afterimage")]
public class Afterimage : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Name | Description | |
---|---|---|
Constructors | ||
Afterimage() | Initializes a new instance of the Afterimage class. |
|
Properties | ||
FadeOutSpeed | How fast the persistent image fades out. |
|
Sensitivity | How sensitive we are to the bright light. |
|
Methods | ||
Destroy() | ||
DrawCore(RenderDrawContext) | ||
InitializeCore() |
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.0099999997764825821, 0.10000000149011612, 3)]
public float FadeOutSpeed { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Sensitivity
How sensitive we are to the bright light.
[DataMember(20)]
public float Sensitivity { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
Destroy()
protected override void Destroy()
Overrides
DrawCore(RenderDrawContext)
protected override void DrawCore(RenderDrawContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderDrawContext | context |
Overrides
InitializeCore()
protected override void InitializeCore()