SrcRegion.set()?
by Kirby Webber · in Torque Game Engine · 11/22/2005 (1:21 pm) · 2 replies
There are numerous resources here in the GG repository that utilize code very much like the following statement:
Near as I can tell, srcRegion is simply a variable, but the set statement appears to be a method.
I have searched extensively for this method in the source code so I can better understand what arguments are expected and what the output is supposed to be, but I can't find anything.
Can anyone tell me where this method is defined, or what specifically is being referenced?
Thanks in advance.
srcRegion.set( 0, texture->bitmapHeight - newHeight, texture->bitmapWidth, newHeight );
Near as I can tell, srcRegion is simply a variable, but the set statement appears to be a method.
I have searched extensively for this method in the source code so I can better understand what arguments are expected and what the output is supposed to be, but I can't find anything.
Can anyone tell me where this method is defined, or what specifically is being referenced?
Thanks in advance.
Torque 3D Owner Scott Richards