Support Forum G3D Web Page |
Public Member Functions | |
MotionBlurSettings () | |
MotionBlurSettings (const Any &) | |
bool | enabled () const |
float | exposureFraction () const |
Fraction of the frame interval during which the shutter is open. More... | |
void | extendGBufferSpecification (GBuffer::Specification &spec) const |
float | maxBlurDiameterFraction () const |
Objects are blurred over at most this distance as a fraction of the screen dimension along the dominant field of view axis. More... | |
int | numSamples () const |
Number of samples taken per pixel when computing motion blur. More... | |
void | setEnabled (bool e) |
void | setExposureFraction (float f) |
void | setMaxBlurDiameterFraction (float f) |
void | setNumSamples (int n) |
Any | toAny () const |
G3D::MotionBlurSettings::MotionBlurSettings | ( | ) |
G3D::MotionBlurSettings::MotionBlurSettings | ( | const Any & | ) |
|
inline |
|
inline |
Fraction of the frame interval during which the shutter is open.
Default is 0.75 (75%). Larger values create more motion blur, smaller values create less blur.
void G3D::MotionBlurSettings::extendGBufferSpecification | ( | GBuffer::Specification & | spec | ) | const |
|
inline |
Objects are blurred over at most this distance as a fraction of the screen dimension along the dominant field of view axis.
Default is 0.10 (10%).
|
inline |
Number of samples taken per pixel when computing motion blur.
Larger numbers are slower. The actual number of samples used by the current implementation must be odd, so this is always rounded to the odd number greater than or equal to it.
Default = 11.
|
inline |
Referenced by G3D::GApp::Settings::VR::VR().
|
inline |
Referenced by G3D::GApp::Settings::VR::VR().
|
inline |
|
inline |
Any G3D::MotionBlurSettings::toAny | ( | ) | const |