vrdLightPortalMaterial

class vrdLightPortalMaterial

(Inherits vrdMaterial)

This class is used for all light portal material properties.

Functions

vrdLightPortalMaterial.getVisibility()

Gets the opacity of the material.

Returns:The opacity of the material.
Return type:float
vrdLightPortalMaterial.setVisibility(v)

Sets the opacity of the material. Usually a visibility of 0 is recommended.

Parameters:v (float) – The new opacity of the material.