Beispiel #1
0
 /*!
  * Sets a new internal file texture.  Removes any existing texture references, whether internal or external.
  * \param[in] raw_image_data The NiRawImageData object that contains the texture image data.
  */
 public void SetInternalTexture(NiRawImageData raw_image_data)
 {
     useExternal = 0;
     fileName    = string.Empty;
     imageData   = raw_image_data;
 }
Beispiel #2
0
 //public IndexString() { val = null; }
 public IndexString(IndexString r)
 {
     val = r.val;
 }
Beispiel #3
0
 /*!
  * Sets a new external file texture.  Removes any existing texture references, whether internal or external.
  * \param[in] file_name The file name of the external texture.  Often needs to follow game guidlines to be found.
  */
 public void SetExternalTexture(string file_name)
 {
     imageData   = null;
     useExternal = 1;
     fileName    = file_name;
 }