NXOpen .NET Reference Guide
1899
|
Represents a collection of NXOpen.Light s. More...
Public Member Functions | |
unsafe NXOpen.Light | FindObject (string journalIdentifier) |
Finds the NXOpen.Light with the given identifier as recorded in a journal. More... | |
unsafe void | SetLightIntensities (NXOpen.Light[] lights, double[] intensities) |
Modifies the intensities of a set of lights. More... | |
NXOpen.Light[] | ToArray () |
Returns an array of NXOpen.Light objects. More... | |
Public Member Functions inherited from NXOpen.TaggedObjectCollection | |
IEnumerator | GetEnumerator () |
Returns an enumerator that iterates through a collection. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Protected Member Functions inherited from NXOpen.TaggedObjectCollection | |
new void | initialize () |
<exclude> More... | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a collection of NXOpen.Light s.
To obtain an instance of this class, refer to NXOpen.BasePart
Created in NX4.0.0
|
inlineprotectedvirtual |
Advances the enumerator to the next element of the collection.
Implements NXOpen.TaggedObjectCollection.
|
inline |
Finds the NXOpen.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.
Created in NX4.0.0
License requirements: None.
journalIdentifier | Identifier of the Light to be found |
|
inline |
Modifies the intensities of a set of lights.
This is generally preferable to multiple consecutive invocations of NXOpen.Light.Intensity , as with this method the graphics screen is only updated once, while for NXOpen.Light.Intensity it would be updated once per call.
Created in NX4.0.0
License requirements: None.
lights | |
intensities |
|
inline |
Returns an array of NXOpen.Light objects.
|
get |
Returns the tag of this object.