Cgo transparency

From PyMOLWiki
Revision as of 22:53, 13 February 2022 by Jaredsampson (talk | contribs) (Add more details to usage and arguments)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is an object-level setting to control transparency of Compiled Graphics Objects.

Usage:

# PyMOL command
set cgo_transparency, value [, object]

# Python API
cmd.set("cgo_transparency", value [, object])

Arguments

  • value (float) number between 0 and 1 (with 0 meaning the object is opaque, and 1 == invisible).
  • object (str) name of the object to which to apply the setting (default: all CGO objects)