LightFieldComponent Class
Represents a component of the light field package.
Constructors:
Name | Description | |
---|---|---|
![]() | LightFieldComponent() | Initializes a new instance of the LightFieldComponent class. |
![]() | LightFieldComponent(Stream) | Initializes a new instance of the LightFieldComponent class from a stream of data. |
![]() | LightFieldComponent(Stream, Encoding) | Initializes a new instance of the LightFieldComponent class from a stream of data with specified encoding. |
Properties:
Name | Description | |
---|---|---|
![]() | Data | Gets or sets the component data. |
![]() | ComponentType | Gets or sets the component type. |
![]() | Length | Gets the length of the component data. |
![]() | Version | Gets or sets the component schema version. |
![]() | Reference | Gets or sets the component reference identifier. |
![]() | Encoding | Gets or sets the component encoding. |
Methods:
Name | Description | |
---|---|---|
![]() | 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.) |
![]() | SetDataToString(String) | Sets the component data to String using the component's Encoding. |
![]() | WriteTo(Stream) | Writes the LightFieldComponent to a stream. |
Constants:
Name | Description | |
---|---|---|
![]() | MaximumReferenceLength | The maximum number of bytes that the Reference property can hold. |