vrdPointLightNode¶
-
class
vrdPointLightNode
¶
(Inherits vrdDeltaLightNode
)
This class gives access to the properties of a point light source.
Summary¶
Functions¶
-
vrdPointLightNode.
getAttenuation
()¶ Returns the falloff of the light intensity.
Returns: Attenuation type Return type: vrLightTypes.Attenuation
-
vrdPointLightNode.
getLensFlareEffect
()¶ Returns the lens flare effect.
Returns: Return type: vrdLensFlareEffect
-
vrdPointLightNode.
getLightProfile
()¶ Returns the light profile.
Returns: Return type: vrdLightProfile
-
vrdPointLightNode.
getTexture
()¶ Returns the light texture.
Returns: Return type: vrdLightTexture
-
vrdPointLightNode.
setAttenuation
(attenuation)¶ Sets the falloff of the light intensity.
Parameters: attenuation (vrLightTypes.Attenuation) – Attenuation type