Class AccumulationSettings
A class that represents the settings when capturing accumulations.
Inherited Members
Namespace: Global Namespace
Assembly: Unity.Recorder.Editor.dll
Syntax
[Serializable]
public class AccumulationSettings
Properties
CaptureAccumulation
Indicates whether this Recorder is set to capture and accumulate multiple sub-frames or not.
Declaration
public bool CaptureAccumulation { get; set; }
Property Value
Type | Description |
---|---|
bool |
Samples
The number of sub-frames to capture and accumulate on each final recorded frame.
Declaration
public int Samples { get; set; }
Property Value
Type | Description |
---|---|
int |
ShutterBeginsClosing
The time when the full open state of the shutter ends, normalized to the full shutter profile length. This automatically defines the slope of the linear closing to the profile end time.
Declaration
public float ShutterBeginsClosing { get; set; }
Property Value
Type | Description |
---|---|
float |
ShutterFullyOpen
The time when the full open state of the shutter starts, normalized to the full shutter profile length. This automatically defines the slope of the linear opening from the profile start time.
Declaration
public float ShutterFullyOpen { get; set; }
Property Value
Type | Description |
---|---|
float |
ShutterInterval
The portion of the interval between two subsequent frames in which the shutter actually opens and closes according to the specified shutter profile. The value 1.0f applies the shutter profile to the whole interval between the two frames, while the value 0.0f disables the shutter and the accumulation. Any value in between proportionally rescales the shutter profile and makes the shutter remain closed for the rest of the interval to the next frame.
Declaration
public float ShutterInterval { get; set; }
Property Value
Type | Description |
---|---|
float |
ShutterProfileCurve
Stores an animation curve to use as the shutter profile.
Declaration
public AnimationCurve ShutterProfileCurve { get; set; }
Property Value
Type | Description |
---|---|
AnimationCurve |
ShutterType
The type of response profile that simulates a physical motion of camera shutter: either a range or an animation curve.
Declaration
public AccumulationSettings.ShutterProfileType ShutterType { get; set; }
Property Value
Type | Description |
---|---|
AccumulationSettings.ShutterProfileType |
UseSubPixelJitter
Indicates whether this Recorder is set to use subpixel jitter antialiasing or not.
Declaration
public bool UseSubPixelJitter { get; set; }
Property Value
Type | Description |
---|---|
bool |