1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--****************************************************************************
* *
* Viewmol *
* *
* N O D E 1 9 . H T M L *
* *
* Copyright (c) Joerg-R. Hill, December 2000 *
* *
********************************************************************************
*-->
<!--Converted with LaTeX2HTML 99.2beta8 (1.46)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>The element module</TITLE>
<META NAME="description" CONTENT="The element module">
<META NAME="keywords" CONTENT="viewmol">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="viewmol.css">
</HEAD>
<BODY LANG="EN" BGCOLOR="#FFFFFF">
<H2><A NAME="SECTION00092000000000000000">
The <TT>element</TT> module</A>
</H2>
<dl><dt><b><a name='l2h-9'><tt class='function'>darkColor</tt></a></b> (<big>[</big><var>red, green, blue</var><big>]</big>)
<dd>
Sets or returns the red, green, and blue values for the darkest part of an atom
of an element. If <var>red</var>, <var>green</var>, and <var>blue</var> are given they have to
be floats between 0.0 and 1.0. If the color is queried, it is returned as a tupel
of red, green, and blue values.
</dl>
<P>
<dl><dt><b><a name='l2h-10'><tt class='function'>lightColor</tt></a></b> (<big>[</big><var>red, green, blue</var><big>]</big>)
<dd>
Sets or returns the red, green, and blue values for the lightest part of an atom
of an element. If <var>red</var>, <var>green</var>, and <var>blue</var> are given they have to
be floats between 0.0 and 1.0. If the color is queried, it is returned as a tupel
of red, green, and blue values.
</dl>
<P>
<dl><dt><b><a name='l2h-11'><tt class='function'>emissionColor</tt></a></b> (<big>[</big><var>red, green, blue</var><big>]</big>)
<dd>
Sets or returns the red, green, and blue values of the color an atom of an element
emits. If <var>red</var>, <var>green</var>, and <var>blue</var> are given they have to be floats
between 0.0 and 1.0. If the color is queried, it is returned as a tupel of red,
green, and blue values.
</dl>
<P>
<dl><dt><b><a name='l2h-12'><tt class='function'>ambientColor</tt></a></b> (<big>[</big><var>red, green, blue</var><big>]</big>)
<dd>
Sets or returns the red, green, and blue values of the ambient color of an atom
of an element. If <var>red</var>, <var>green</var>, and <var>blue</var> are given they have to
be floats between 0.0 and 1.0. If the color is queried, it is returned as a tupel
of red, green, and blue values.
</dl>
<P>
<dl><dt><b><a name='l2h-13'><tt class='function'>specularColor</tt></a></b> (<big>[</big><var>red, green, blue</var><big>]</big>)
<dd>
Sets or returns the red, green, and blue values of the specular color of an atom
of an element. If <var>red</var>, <var>green</var>, and <var>blue</var> are given they have to
be floats between 0.0 and 1.0. If the color is queried, it is returned as a tupel
of red, green, and blue values.
</dl>
<P>
<dl><dt><b><a name='l2h-14'><tt class='function'>shininess</tt></a></b> (<big>[</big><var>shininess</var><big>]</big>)
<dd>
Sets or returns the shininess of an atom of an element. If <var>shininess</var> is
given it has to be a float between 0.0 and 128.0.
</dl>
<P>
<dl><dt><b><a name='l2h-15'><tt class='function'>transperancy</tt></a></b> (<big>[</big><var>transperancy</var><big>]</big>)
<dd>
Sets or returns the transperancy of an atom of an element. If <var>transperancy</var>
is given it has to be a float between 0.0 and 1.0.
</dl>
<P>
<BR><HR>
<ADDRESS>
<A HREF="mailto:joehill@users.sourceforge.net"><I>Jrg-Rdiger Hill</I></A><BR>Sun Dec 10 17:38:35 MET 2000
</ADDRESS>
</BODY>
</HTML>
|