vrdLensFlareGlow¶
-
class
vrdLensFlareGlow
¶
(Inherits vrdLensFlareFxElement
)
This class is used for a glowing shape. A short introduction can be found under https://help.autodesk.com/view/VREDPRODUCTS/2020/ENU/?guid=VRED_Lights_About_Lens_Flares_and_Elements_html.
Summary¶
Functions¶
-
vrdLensFlareGlow.
getImage
()¶ Return the current used texture.
Returns: The current used image for texture. May be invalid, if no image is used. Return type: vrdImage
-
vrdLensFlareGlow.
getShape
()¶ Get the current used shape.
Returns: Current used shape Return type: vrLensFlareTypes.ElementShape
-
vrdLensFlareGlow.
setImage
(image)¶ Set an image for this element. You have to change the type to Texture to use the image for the glow effect.
Parameters: image (vrdImage) – The image used for this effect
-
vrdLensFlareGlow.
setShape
(shape)¶ Set a shape for the glow element.
Circle = A circular shapeTriangle = Shape with 3 edgesQuad = Shape with 4 edgesPentagon = Shape with 5 edgesHexagon = Shape with 6 edgesHeptagon = Shape with 7 edgesOctagon = Shape with 8 edgesNonagon = Shape with 9 edgesDecagon = Shape with 10 edgesTexture = Shape assigned to an imageParameters: shape (vrLensFlareTypes.ElementShape) – New shape to be set