TX - GenericMaterial
by Rafa M. · in Technical Issues · 01/26/2009 (8:29 am) · 1 replies
Hey!
I'm trying to use TorqueX GenericMaterial class and getting an odd error when defining EffectFilename property, either in C# or XML code. Whenever I try that, I get a NullReferenceException in GenericMaterial._ClearParameters.
Just can't figure it out. I got TX3D builder to find out if I was doing something wrong, but the same error pops up when inputing EffectFilename property at GenericMaterial Properties definition.
Can anybody shed some light?
Thanks.
I'm trying to use TorqueX GenericMaterial class and getting an odd error when defining EffectFilename property, either in C# or XML code. Whenever I try that, I get a NullReferenceException in GenericMaterial._ClearParameters.
Just can't figure it out. I got TX3D builder to find out if I was doing something wrong, but the same error pops up when inputing EffectFilename property at GenericMaterial Properties definition.
Can anybody shed some light?
Thanks.
Rafa M.
just realized I posted this at Technical Issues forum. It meant to be at TorqueX 3D forum. Sorry about that.