ResolvedTextureFile Class |
Namespace: Ab3d.Common.Reader3ds
public class ResolvedTextureFile
The ResolvedTextureFile type exposes the following members.
Name | Description | |
---|---|---|
ResolvedTextureFile |
Constructor
|
Name | Description | |
---|---|---|
IsTextureSkipped |
Gets or sets a boolean that specify if the texture is skipped (true) or not (false by default).
| |
OriginalFileName |
Gets the texture file name as it is written in 3ds file.
| |
ResolvedFileName |
Gets or sets the file name with full path to the texture file name that will be used by WPF.
|
ResolvedTextureFile class is used with ResolveTextureFileCallback delegate to resolve the texture file.
When Ab3d.Reader3ds calls the ResolveTextureFileCallback delegate it creates an instance of ResolvedTextureFile and fills it with the OriginalFileName that is a texture file name as it is written in 3ds file and the ResolvedFileName that is set to the recommended file name and its path.
The custom resolver method can change the ResolvedFileName or set the IsTextureSkipped to true to skip using this texture (if ResolvedFileName is null or empty the texture will be also skipped).