- NGLComponent(__namedParameters): Element
Parameters
- __namedParameters: {
chain?: string;
children?: ReactNode;
defaultRepresentation?: boolean;
model?: number;
opacity?: number;
structure: string | File;
}Optionalchain?: string
Optionalchildren?: ReactNode
OptionaldefaultRepresentation?: boolean
Optionalmodel?: number
Optionalopacity?: number
structure: string | File
Returns Element
Index of the model to show (0 is the first), all models if undefined.