LightFieldPackage Class
Represents a light field package, consisting of one or more components.
Constructors:
Name | Description | |
---|---|---|
LightFieldPackage() | Initializes a new instance of the LightFieldPackage class. | |
LightFieldPackage(Stream) | Initializes a new instance of the LightFieldPackage class from a stream of components. |
Properties:
Name | Description | |
---|---|---|
Data | Gets or sets the component data. | |
ComponentType | Gets or sets the component type. | |
ComponentsCount | Gets the number of components in the package. | |
Length | Gets the length of the component data. | |
MetadataComponentsCount | Gets the number of metadata components in the package. | |
Version | Gets or sets the component schema version. | |
Reference | Gets or sets the component reference identifier. | |
Encoding | Gets or sets the component encoding. | |
Components | Gets a collection of components in the package. |
Methods:
Name | Description | |
---|---|---|
GetComponentIndices(String) | Enumerates indices of components of specified reference identifier. | |
GetMetadataIndices() | Enumerates indices of metadata components in the package. | |
GetComponent(String) | Enumerates components of specified reference identifier. | |
GetMetadata() | Enumerates metadata components in the package. | |
GetDataAsString() | Gets the component data as String using the component's Encoding or null if the component does not contain any data. | |
ToString() | Returns a String representing the type and name of the current LightFieldComponent. (Overrides ToString.) | |
GetComponent(Int32) | Gets a component of specified index. | |
Load(Stream) | Loads components from a stream. | |
SetDataToString(String) | Sets the component data to String using the component's Encoding. | |
WriteTo(Stream) | Writes package header and all the components to a stream. (Overrides WriteTo.) |
Events:
Name | Description | |
---|---|---|
LoadProgressChanged | Reports progress of the package loading. |