public interface LightCollection extends TaggedObjectCollection
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
Light |
findObject(String journalIdentifier)
Finds the
Light with the given identifier
as recorded in a journal. |
void |
setLightIntensities(Light[] lights,
double[] intensities)
Modifies the intensities of a set of lights.
|
_find_next, iterator
Light findObject(String journalIdentifier) throws NXException, RemoteException
Light
with the given identifier
as recorded in a journal. An object may not return the same value as its
JournalIdentifier in different versions of the software. However,
newer versions of the software should find the same object when
FindObject is passed older versions of its journal identifier. In general,
this method should not be used in handwritten code and exists to
support record and playback of journals.
An exception will be thrown if no object can be found with the given
journal identifier.
journalIdentifier
- Identifier of the Light to be foundNXException
RemoteException
void setLightIntensities(Light[] lights, double[] intensities) throws NXException, RemoteException
Light.setIntensity(double)
, as with this
method the graphics screen is only updated once, while for
Light.setIntensity(double)
it would be updated once per call.
lights
- intensities
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.