home *** CD-ROM | disk | FTP | other *** search
/ Game Level Design / GLDesign.bin / Software / UnrealEngine2Runtime / UE2Runtime-22262001_Demo.exe / Engine / Classes / TexModifier.uc < prev    next >
Text File  |  2003-06-23  |  959b  |  50 lines

  1. class TexModifier extends Modifier
  2.     noteditinlinenew
  3.     native;
  4.  
  5. cpptext
  6. {
  7.     // UTexModifier interface
  8.     virtual FMatrix* GetMatrix(FLOAT TimeSeconds) { return NULL; }
  9.  
  10.     // Material interface.
  11.     virtual INT MaterialUSize();
  12.     virtual INT MaterialVSize();
  13.     virtual BYTE RequiredUVStreams();
  14.     virtual UBOOL GetValidated();
  15.     virtual void SetValidated( UBOOL InValidated );
  16. }
  17.  
  18. var enum ETexCoordSrc
  19. {
  20.     TCS_Stream0,
  21.     TCS_Stream1,
  22.     TCS_Stream2,
  23.     TCS_Stream3,
  24.     TCS_Stream4,
  25.     TCS_Stream5,
  26.     TCS_Stream6,
  27.     TCS_Stream7,
  28.     TCS_WorldCoords,
  29.     TCS_CameraCoords,
  30.     TCS_WorldEnvMapCoords,
  31.     TCS_CameraEnvMapCoords,
  32.     TCS_ProjectorCoords,
  33.     TCS_NoChange,                // don't specify a source, just modify it
  34. } TexCoordSource;
  35.  
  36. var enum ETexCoordCount
  37. {
  38.     TCN_2DCoords,
  39.     TCN_3DCoords,
  40.     TCN_4DCoords
  41. } TexCoordCount;
  42.  
  43. var bool TexCoordProjected;
  44.  
  45. defaultproperties
  46. {
  47.     TexCoordSource=TCS_NoChange
  48.     TexCoordCount=TCN_2DCoords
  49.     TexCoordProjected=False
  50. }