0

How can i change texture in run time (used class StudioReader)

Anonymous 5 years ago 0
This discussion was imported from CodePlex

DK_danik wrote at 2013-10-22 13:49:

Many thanks for product


i want change texture in run time at 3ds model or obj.
var reader = new StudioReader();
reader.TexturePath = "";
and then do something like this
while (materials in this model) 
{
  var actualTexturePath = this.TexturePath ?? string.Empty;
  string path = Path.Combine(actualTexturePath,"My_selected_texture_on_run_time.jpg");
}