home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code / r3mpwave.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.4 KB  |  64 lines

  1.  
  2. // JavaScript wrapper for r3mpwave.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_MPWAVE_H = 1;
  7. include("real/code/r3matprp.js")
  8.  
  9.  
  10. var R3CLID_MPWAVE = 601;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3MPWAVEA_Amplitude = 601500;
  19. function SetR3MPWAVEA_Amplitude(value) {
  20.   R3Set(this.r3obj, R3MPWAVEA_Amplitude, value, R3TID_FLOAT, 0); 
  21. }
  22.  
  23. function GetR3MPWAVEA_Amplitude() {
  24.   return R3Get(this.r3obj, R3MPWAVEA_Amplitude, R3TID_FLOAT, 0); 
  25. }
  26.  
  27. R3MPWAVEA_Base = 601501;
  28. function SetR3MPWAVEA_Base(value) {
  29.   R3Set(this.r3obj, R3MPWAVEA_Base, value, R3TID_FLOAT, 0); 
  30. }
  31.  
  32. function GetR3MPWAVEA_Base() {
  33.   return R3Get(this.r3obj, R3MPWAVEA_Base, R3TID_FLOAT, 0); 
  34. }
  35.  
  36. R3MPWAVEA_1D = 601502;
  37. function SetR3MPWAVEA_1D(value) {
  38.   R3Set(this.r3obj, R3MPWAVEA_1D, value, R3TID_INTEGER, 0); 
  39. }
  40.  
  41. function GetR3MPWAVEA_1D() {
  42.   return R3Get(this.r3obj, R3MPWAVEA_1D, R3TID_INTEGER, 0); 
  43. }
  44.  
  45.  
  46.  
  47. function r3Mpwave () { 
  48.    this.base = r3God;
  49.    if(arguments.length) {
  50.       this.base(R3CLID_MPWAVE, arguments);
  51.    }
  52.    // Methods
  53.  
  54.    // Attributes
  55.    this.GetAmplitude=GetR3MPWAVEA_Amplitude;
  56.    this.SetAmplitude=SetR3MPWAVEA_Amplitude;
  57.    this.GetBase=GetR3MPWAVEA_Base;
  58.    this.SetBase=SetR3MPWAVEA_Base;
  59.    this.Get1D=GetR3MPWAVEA_1D;
  60.    this.Set1D=SetR3MPWAVEA_1D;
  61. }
  62.  
  63. r3Mpwave.prototype=new r3Matprop;
  64. // r3mpwave.h_H