Click or drag to resize
ResolvedTextureFile Class
ResolvedTextureFile class is used with ResolveTextureFileCallback delegate to resolve the texture file.
Inheritance Hierarchy
SystemObject
  Ab3d.Common.Reader3dsResolvedTextureFile

Namespace: Ab3d.Common.Reader3ds
Assembly: Ab3d.Reader3ds (in Ab3d.Reader3ds.dll) Version: 9.0.5590.1040
Syntax
C#
public class ResolvedTextureFile

The ResolvedTextureFile type exposes the following members.

Constructors
  NameDescription
Public methodResolvedTextureFile
Constructor
Top
Properties
  NameDescription
Public propertyIsTextureSkipped
Gets or sets a boolean that specify if the texture is skipped (true) or not (false by default).
Public propertyOriginalFileName
Gets the texture file name as it is written in 3ds file.
Public propertyResolvedFileName
Gets or sets the file name with full path to the texture file name that will be used by WPF.
Top
Remarks

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).

See Also