Class LightFieldPackage Class

Represents a light field package, consisting of one or more components.

Constructors:

NameDescription
Public methodLightFieldPackage() Initializes a new instance of the LightFieldPackage class.
Public methodLightFieldPackage(Stream) Initializes a new instance of the LightFieldPackage class from a stream of components.

Properties:

NameDescription
Public propertyData Gets or sets the component data.
Public propertyComponentType Gets or sets the component type.
Public propertyComponentsCount Gets the number of components in the package.
Public propertyLength Gets the length of the component data.
Public propertyMetadataComponentsCount Gets the number of metadata components in the package.
Public propertyVersion Gets or sets the component schema version.
Public propertyReference Gets or sets the component reference identifier.
Public propertyEncoding Gets or sets the component encoding.
Public propertyComponents Gets a collection of components in the package.

Methods:

NameDescription
Public methodGetComponentIndices(String) Enumerates indices of components of specified reference identifier.
Public methodGetMetadataIndices() Enumerates indices of metadata components in the package.
Public methodGetComponent(String) Enumerates components of specified reference identifier.
Public methodGetMetadata() Enumerates metadata components in the package.
Public methodGetDataAsString() Gets the component data as String using the component's Encoding or null if the component does not contain any data.
Public methodToString() Returns a String representing the type and name of the current LightFieldComponent. (Overrides ToString.)
Public methodGetComponent(Int32) Gets a component of specified index.
Public methodLoad(Stream) Loads components from a stream.
Public methodSetDataToString(String) Sets the component data to String using the component's Encoding.
Public methodWriteTo(Stream) Writes package header and all the components to a stream. (Overrides WriteTo.)

Events:

NameDescription
Public eventLoadProgressChanged Reports progress of the package loading.