molstar
Version:
A comprehensive macromolecular library.
38 lines (37 loc) • 1.48 kB
TypeScript
/**
* Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
import { ParamDefinition as PD } from '../../../mol-util/param-definition';
import { UnitsVisual } from '../units-visual';
export declare const PolymerTubeMeshParams: {
sizeFactor: PD.Numeric;
detail: PD.Numeric;
linearSegments: PD.Numeric;
radialSegments: PD.Numeric;
};
export declare const DefaultPolymerTubeMeshProps: PD.Values<{
sizeFactor: PD.Numeric;
detail: PD.Numeric;
linearSegments: PD.Numeric;
radialSegments: PD.Numeric;
}>;
export declare type PolymerTubeMeshProps = typeof DefaultPolymerTubeMeshProps;
export declare const PolymerTubeParams: {
sizeFactor: PD.Numeric;
detail: PD.Numeric;
linearSegments: PD.Numeric;
radialSegments: PD.Numeric;
unitKinds: PD.MultiSelect<"spheres" | "atomic" | "gaussians">;
includeParent: PD.BooleanParam;
doubleSided: PD.BooleanParam;
flipSided: PD.BooleanParam;
flatShaded: PD.BooleanParam;
ignoreLight: PD.BooleanParam;
xrayShaded: PD.BooleanParam;
alpha: PD.Numeric;
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
};
export declare type PolymerTubeParams = typeof PolymerTubeParams;
export declare function PolymerTubeVisual(materialId: number): UnitsVisual<PolymerTubeParams>;