vrdLensFlareRing¶
-
class
vrdLensFlareRing
¶
(Inherits vrdLensFlareFxElement
)
Summary¶
- Functions:
- getChromaticAberration() → QVector3D
- getIsChromaticAberrationActive() → bool
- getNumberOfStreaks() → integer
- getStreakThickness() → float
- getThickness() → float
- setChromaticAberration(chromaticAberration)
- setIsChromaticAberrationActive(isActive)
- setNumberOfStreaks(numberOfStreaks)
- setStreakThickness(streakThickness)
- setThickness(thickness)
Functions¶
-
vrdLensFlareRing.
getChromaticAberration
()¶ Get used chromatic aberration values as RGB.
Returns: Used chromatic aberration Return type: QVector3D
-
vrdLensFlareRing.
getIsChromaticAberrationActive
()¶ Get activation state the usage of chromatic aberration.
Returns: Activation state the usage of chromatic aberration Return type: bool
-
vrdLensFlareRing.
getNumberOfStreaks
()¶ Get how many arms a Ring element has.
Returns: Count of arms of Ring element Return type: integer
-
vrdLensFlareRing.
getStreakThickness
()¶ Get the thickness of the segments.
Returns: Thickness of the segments Return type: float
-
vrdLensFlareRing.
getThickness
()¶ Get the current used thickness of the effect.
Returns: Thickness of the effect Return type: float
-
vrdLensFlareRing.
setChromaticAberration
(chromaticAberration)¶ Use chromatic aberration with the lens flare element to distort the colors.
Parameters: chromaticAberration (QVector3D) – New Chromatic Aberration
-
vrdLensFlareRing.
setIsChromaticAberrationActive
(isActive)¶ Activate the usage of chromatic aberration.
Parameters: isActive (bool) – New activation state the usage of chromatic aberration
-
vrdLensFlareRing.
setNumberOfStreaks
(numberOfStreaks)¶ Use to set how many arms a Ring element has.
Parameters: numberOfStreaks (integer) – New count of arms of Ring element
-
vrdLensFlareRing.
setStreakThickness
(streakThickness)¶ Controls the thickness of the segments.
Parameters: streakThickness (float) – New thickness of the segments
-
vrdLensFlareRing.
setThickness
(thickness)¶ Controls the thickness of the effect.
Parameters: thickness (float) – New thickness of the effect