CoCMapBlur Class
Namespace: Stride.Rendering.ImagesAssembly: Stride.Rendering.dll
Blurs a Circle of Confusion map.
System.Object → DisposeBase → ComponentBase → RendererCoreBase → RendererBase → DrawEffect → ImageEffect →
CoCMapBlur
Derived from CoCMapBlur:
public class CoCMapBlur : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Remarks
This is useful to avoid strong CoC changes leading to out-of-focus silhouette outline appearing in front of another out-of-focus object. Internally it uses a special gaussian blur aware of the depth.
Name | Description | |
---|---|---|
Constructors | ||
CoCMapBlur() | Initializes a new instance of the CoCMapBlur class. |
|
Properties | ||
Radius | Gets or sets the radius. |
|
Methods | ||
DrawCore(RenderDrawContext) | ||
InitializeCore() |
Constructors
CoCMapBlur()
Initializes a new instance of the CoCMapBlur class.
public CoCMapBlur()
Properties
Radius
Gets or sets the radius.
public float Radius { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The radius. |
Methods
DrawCore(RenderDrawContext)
protected override void DrawCore(RenderDrawContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderDrawContext | context |
Overrides
InitializeCore()
protected override void InitializeCore()