[Q/A] texture method
#1

Best method for texture scripting
Method 1 :
PHP Code:
SetObjectMeterial(CreateObject(),....);
SetObjectMeterial(CreateObject(),....); 
Method 2 :
PHP Code:
new Texture;
Texture =CreateObject();
SetObjectMeterial(Texture,...);
Texture =CreateObject();
SetObjectMeterial(Texture,...); 

Method 3 :
PHP Code:
new Texture[2];
Texture[0] =CreateObject();
SetObjectMeterial(Texture[0],...);
Texture[1] =CreateObject();
SetObjectMeterial(Texture[1],...); 

Please let me know, which one will be good and why?
Reply


Messages In This Thread
[Q/A] texture method - by SoFahim - 15.02.2017, 04:38
Re: [Q/A] texture method - by DRIFT_HUNTER - 15.02.2017, 04:55
Re: [Q/A] texture method - by PrO.GameR - 15.02.2017, 06:59
Re: [Q/A] texture method - by Gammix - 15.02.2017, 07:20
Re: [Q/A] texture method - by SoFahim - 15.02.2017, 12:42

Forum Jump:


Users browsing this thread: 1 Guest(s)