Class MotionBlur
Accumulates frames to average for generating motion blur in renders
Inheritance
System.Object
MotionBlur
Assembly: cs.temp.dll.dll
public class MotionBlur : MonoBehaviour
Fields
Declaration
Field Value
Type |
Description |
System.Single |
|
Properties
FinalTexture
Declaration
public RenderTexture FinalTexture { get; }
Property Value
Type |
Description |
RenderTexture |
|
Declaration
public int FrameCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public bool IsFrameAccumulated { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public int NumSamples { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Accumulate(Texture)
Declaration
public void Accumulate(Texture src)
Parameters
Type |
Name |
Description |
Texture |
src |
|
Declaration
public void OnNumSamplesChanged()
Declaration
public void SetTargetSize(int width, int height)
Parameters
Type |
Name |
Description |
System.Int32 |
width |
|
System.Int32 |
height |
|