// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the contents of this file. If this class is regenerated by // Microsoft Visual C++, your modifications will be overwritten. #include "stdafx.h" #include "vclightsource.h" ///////////////////////////////////////////////////////////////////////////// // CVcLightSource properties ///////////////////////////////////////////////////////////////////////////// // CVcLightSource operations float CVcLightSource::GetIntensity() { float result; InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); return result; } void CVcLightSource::SetIntensity(float newValue) { static BYTE parms[] = VTS_R4; InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue); } float CVcLightSource::GetX() { float result; InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); return result; } void CVcLightSource::SetX(float newValue) { static BYTE parms[] = VTS_R4; InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue); } float CVcLightSource::GetY() { float result; InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); return result; } void CVcLightSource::SetY(float newValue) { static BYTE parms[] = VTS_R4; InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue); } float CVcLightSource::GetZ() { float result; InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); return result; } void CVcLightSource::SetZ(float newValue) { static BYTE parms[] = VTS_R4; InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue); } void CVcLightSource::Set(float X, float Y, float Z, float Intensity) { static BYTE parms[] = VTS_R4 VTS_R4 VTS_R4 VTS_R4; InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms, X, Y, Z, Intensity); }