An AmbientLightGO.T
is a geometric object that describes a source of
ambient light.
INTERFACEAmbientLightGO ; IMPORT Color, LightGO; TYPE T <: Public; Public = LightGO.T OBJECT METHODS init () : T; END;
l.init()
initializes a new ambient light sourcel
and returns it.
PROCEDURE New (c : Color.T) : T;
New (c)
creates a new ambient light sourcel
and returns it. It also attaches the following properties tol
: \begin{verbatim}(LightGO.Colour,ColorProp.NewConst(c))
(LightGO.Switch
,BooleanProp.NewConst(TRUE))
\end{verbatim}
END AmbientLightGO.