Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PartialchargeColormaker

Color by partial charge. The AtomProxy.partialCharge property is used for coloring. The default domain is [-1, 1].

Name: partialCharge

example

stage.loadFile("rcsb://1crn").then(function (o) { o.addRepresentation("ball+stick", {colorScheme: "partialCharge"}); o.autoView(); });

Hierarchy

Index

Constructors

constructor

Properties

Optional atomProxy

atomProxy: AtomProxy

parameters

partialchargeScale

partialchargeScale: ColormakerScale

Methods

atomColor

atomColorToArray

bondColor

  • bondColor(bond: BondProxy, fromTo: boolean): number

bondColorToArray

colorToArray

generateColors

getScale

Optional monomerBondColor

monomerBondColorToArray

Optional monomerColor

monomerColorToArray

Optional positionColor

  • positionColor(position: Vector3): number

positionColorToArray

Optional volumeColor

  • volumeColor(index: number): number

volumeColorToArray

Generated using TypeDoc