vclightsource.cpp 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  3. // Microsoft Visual C++, your modifications will be overwritten.
  4. #include "stdafx.h"
  5. #include "vclightsource.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CVcLightSource properties
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CVcLightSource operations
  10. float CVcLightSource::GetIntensity()
  11. {
  12. float result;
  13. InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  14. return result;
  15. }
  16. void CVcLightSource::SetIntensity(float newValue)
  17. {
  18. static BYTE parms[] =
  19. VTS_R4;
  20. InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  21. newValue);
  22. }
  23. float CVcLightSource::GetX()
  24. {
  25. float result;
  26. InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  27. return result;
  28. }
  29. void CVcLightSource::SetX(float newValue)
  30. {
  31. static BYTE parms[] =
  32. VTS_R4;
  33. InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  34. newValue);
  35. }
  36. float CVcLightSource::GetY()
  37. {
  38. float result;
  39. InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  40. return result;
  41. }
  42. void CVcLightSource::SetY(float newValue)
  43. {
  44. static BYTE parms[] =
  45. VTS_R4;
  46. InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  47. newValue);
  48. }
  49. float CVcLightSource::GetZ()
  50. {
  51. float result;
  52. InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  53. return result;
  54. }
  55. void CVcLightSource::SetZ(float newValue)
  56. {
  57. static BYTE parms[] =
  58. VTS_R4;
  59. InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  60. newValue);
  61. }
  62. void CVcLightSource::Set(float X, float Y, float Z, float Intensity)
  63. {
  64. static BYTE parms[] =
  65. VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  66. InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  67. X, Y, Z, Intensity);
  68. }