packages/Windows API Code Pack 1.1/source/Samples/DirectX/CS/UtilitiesLibrary/MeshLoader/Texturizer.cs
/// <summary>
/// This method sets which part to texture during rendering.
/// </summary>
/// <param name="partName"></param>
This method sets which part to texture during rendering.
This method sets which part to texture during rendering .
public void PartToTexture(string partName)
        {
            if (string.IsNullOrEmpty(partName))
            {
                throw new ArgumentException("Must be a non-empty string", "partName");
            }
            partEmphasis.Clear();
            foreach (Part part in rootParts)
            {
                if (BuildEmphasisDictionary(part, partName, false))
                {
                    break;
                }
            }
        }
public void PartToTexture ( string partName ) { if ( string . IsNullOrEmpty ( partName ) ) { throw new ArgumentException ( " " , " " ) ; } partEmphasis . Clear ( ) ; foreach ( Part part in rootParts ) { if ( BuildEmphasisDictionary ( part , partName , false ) ) { break ; } } }
This method sets which part to texture during rendering.
This method sets which part to texture during rendering .
partName
string
None