DisplaceModifier.MapFile

This page contains reference documentation for the MapFile member. This member sets or gets the MAPFILE parameter.

Declaration

string MapFile;

Examples

Examples are as follows:

Displace displace = (Texture)Model.EditNode( node );
string temp = Model.Filename;
temp = Application.ResolveRelativePath( displace.PathToFile );
if( temp != "" )
{
   displace.MapFile = temp;
}

Working Sample Code

For sample code: