Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CgStartEndGradientColorMaker

Color maker interpolating between two colors from start to end resulting in a gradient visualizing the polymer direction.

Hierarchy

Index

Constructors

constructor

Properties

Optional atomProxy

atomProxy: AtomProxy

parameters

Methods

Optional atomColor

atomColorToArray

bondColor

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

bondColorToArray

colorToArray

generateColors

Private getColor

  • getColor(thisIdx: number, maxVal: number): number

getScale

monomerBondColor

monomerBondColorToArray

monomerColor

monomerColorToArray

Optional positionColor

  • positionColor(position: Vector3): number

positionColorToArray

Optional volumeColor

  • volumeColor(index: number): number

volumeColorToArray

Generated using TypeDoc