Class LightFieldComponent Class

Represents a component of the light field package.

Constructors:

NameDescription
Public methodLightFieldComponent() Initializes a new instance of the LightFieldComponent class.
Public methodLightFieldComponent(Stream) Initializes a new instance of the LightFieldComponent class from a stream of data.
Public methodLightFieldComponent(Stream, Encoding) Initializes a new instance of the LightFieldComponent class from a stream of data with specified encoding.

Properties:

NameDescription
Public propertyData Gets or sets the component data.
Public propertyComponentType Gets or sets the component type.
Public propertyLength Gets the length of the component data.
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.

Methods:

NameDescription
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 methodSetDataToString(String) Sets the component data to String using the component's Encoding.
Public methodWriteTo(Stream) Writes the LightFieldComponent to a stream.

Constants:

NameDescription
Public constantMaximumReferenceLength The maximum number of bytes that the Reference property can hold.