molstar
Version:
A comprehensive macromolecular library.
51 lines (50 loc) • 1.92 kB
TypeScript
/**
* Copyright (c) 2018-2019 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 NucleotideBlockMeshParams: {
sizeFactor: PD.Numeric;
radialSegments: PD.Numeric;
};
export declare const DefaultNucleotideBlockMeshProps: PD.Values<{
sizeFactor: PD.Numeric;
radialSegments: PD.Numeric;
}>;
export declare type NucleotideBlockMeshProps = typeof DefaultNucleotideBlockMeshProps;
export declare const NucleotideBlockParams: {
sizeFactor: PD.Numeric;
radialSegments: PD.Numeric;
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
includeParent: PD.BooleanParam;
doubleSided: PD.BooleanParam;
flipSided: PD.BooleanParam;
flatShaded: PD.BooleanParam;
ignoreLight: PD.BooleanParam;
xrayShaded: PD.BooleanParam;
transparentBackfaces: PD.Select<string>;
bumpFrequency: PD.Numeric;
bumpAmplitude: PD.Numeric;
alpha: PD.Numeric;
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
material: PD.Group<PD.Normalize<{
metalness: number;
roughness: number;
bumpiness: number;
}>>;
clip: PD.Group<PD.Normalize<{
variant: import("../../../mol-util/clip").Clip.Variant;
objects: PD.Normalize<{
type: any;
invert: any;
position: any;
rotation: any;
scale: any;
}>[];
}>>;
instanceGranularity: PD.BooleanParam;
};
export declare type NucleotideBlockParams = typeof NucleotideBlockParams;
export declare function NucleotideBlockVisual(materialId: number): UnitsVisual<NucleotideBlockParams>;