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.

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 shape
Triangle = Shape with 3 edges
Quad = Shape with 4 edges
Pentagon = Shape with 5 edges
Hexagon = Shape with 6 edges
Heptagon = Shape with 7 edges
Octagon = Shape with 8 edges
Nonagon = Shape with 9 edges
Decagon = Shape with 10 edges
Texture = Shape assigned to an image
Parameters:shape (vrLensFlareTypes.ElementShape) – New shape to be set