applyViewportState
megane-viewer / applyViewportState
Function: applyViewportState()
applyViewportState(
renderer,current,previous,primaryNodeId?,_atomLabels?):void
Defined in: pipeline/apply.ts:28
Apply the current ViewportState to the renderer. If previous is null, all properties are applied (initial). atomLabels is required for residue/chain color schemes.
Parameters
renderer
current
previous
ViewportState | null
primaryNodeId?
string | null
_atomLabels?
string[] | null
Returns
void