DTS Material Question
by Ronald J Nelson · in Torque Game Engine · 12/05/2007 (3:37 pm) · 1 replies
What function in code can be used to get the texture/matererial/skin (you choose a name) of a dts object?
For example a function that can tell me in code the texture used to skin a vehicle.
For example a function that can tell me in code the texture used to skin a vehicle.
Torque Owner Masser
objectname.dump();
e.g.
1515.dump();
or mytree.dump();
This tells you all available methods for the object type. When in doubt, I put an object of a given type in my mission and use dump() to tell me everything. Hope this helps.