vrdLensFlareStreak

class vrdLensFlareStreak

(Inherits vrdLensFlareFxElement)

This class is used for a streaking effect, like what you get when using an anamorphic lens. Use it for things such as street lamps at night, objects with stationary lights, or a light source that’s partially obscured by an object, like a tree or building’s edge. A short introduction can be found under https://help.autodesk.com/view/VREDPRODUCTS/2020/ENU/?guid=VRED_Lights_About_Lens_Flares_and_Elements_html.

Functions

vrdLensFlareStreak.getOffset()

Get offset the streak effect from the center of the light source.

Returns:Offset the streak effect from the center of the light source.
Return type:QVector2D
vrdLensFlareStreak.getThickness()

Get the current used thickness of the effect.

Returns:Thickness of the effect
Return type:float
vrdLensFlareStreak.setOffset(offset)

Use to offset the streak effect from the center of the light source. Negative values will move the streak to the left and below the light. Positive will move it to the right and above the light.

Parameters:offset (QVector2D) – New offset value
vrdLensFlareStreak.setThickness(thickness)

Controls the thickness of the effect.

Parameters:thickness (float) – New thickness of the effect