Table of Contents

Class Afterimage

Namespace
Stride.Rendering.Images
Assembly
Stride.Rendering.dll

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
Afterimage
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

float

Sensitivity

How sensitive we are to the bright light.

[DataMember(20)]
public float Sensitivity { get; set; }

Property Value

float

Methods

Destroy()

Disposes of object resources.

protected override void Destroy()

DrawCore(RenderDrawContext)

Main drawing method for this renderer that must be implemented.

protected override void DrawCore(RenderDrawContext context)

Parameters

context RenderDrawContext

The context.

InitializeCore()

protected override void InitializeCore()