This is a read-only mirror of pymolwiki.org

Difference between revisions of "Light count"

From PyMOL Wiki
Jump to navigation Jump to search
m (1 revision)
 
m (add PyMOl API syntax)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
  
set [[light_count]] definies the number of light sources.<br>
+
set [[light_count]] defines the number of light sources.<br>
 
Setting to 0 or 1 removes any directional light source resulting in no shadows. Light_count does affect [[ambient]] lighting.
 
Setting to 0 or 1 removes any directional light source resulting in no shadows. Light_count does affect [[ambient]] lighting.
  
Line 8: Line 8:
 
set light_count, <integer>                          #default 2
 
set light_count, <integer>                          #default 2
 
</source>
 
</source>
 +
 +
==PyMol API==
 +
<source lang="python">cmd.set(light_count,int sources)</source>
 +
  
 
== Example ==
 
== Example ==

Revision as of 13:02, 8 June 2015

Overview

set light_count defines the number of light sources.
Setting to 0 or 1 removes any directional light source resulting in no shadows. Light_count does affect ambient lighting.

Syntax

set light_count, <integer>                          #default 2

PyMol API

cmd.set(light_count,int sources)


Example

See Also

Light