AmbientOcclusion

class cee.AmbientOcclusion()

Controls usage of ambient occlusion in a View.

You can access the ambient occlusion object though the View.ambientOcclusion property.


Accessors

AmbientOcclusion.enable()

Enable or disable ambient occlusion

Return type:boolean
AmbientOcclusion.enable(enable)
Arguments:
  • enable (boolean) – None
Return type:

void

AmbientOcclusion.screenProportionalRadius()

Specify the screen proportional radius of the ambient occlusion effect

Return type:number
AmbientOcclusion.screenProportionalRadius(radius)
Arguments:
  • radius (number) – None
Return type:

void