internal static void setAmbientLightColor(IntPtr thisPtr, InternalLinearColorFStruct color) { if (_setAmbientLightColorFunc == null) { _setAmbientLightColorFunc = (_setAmbientLightColor)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiMaterialPreview_setAmbientLightColor"), typeof(_setAmbientLightColor)); } _setAmbientLightColorFunc(thisPtr, color); }
internal static void SetFogColorF(IntPtr thisPtr, InternalLinearColorFStruct new_color) { if (_SetFogColorFFunc == null) { _SetFogColorFFunc = (_SetFogColorF)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_VolumetricFog_SetFogColorF"), typeof(_SetFogColorF)); } _SetFogColorFFunc(thisPtr, new_color); }
internal static void setSelectorColor(IntPtr thisPtr, InternalLinearColorFStruct color) { if (_setSelectorColorFunc == null) { _setSelectorColorFunc = (_setSelectorColor)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiColorPickerCtrl_setSelectorColor"), typeof(_setSelectorColor)); } _setSelectorColorFunc(thisPtr, color); }
internal static void drawBox(IntPtr thisPtr, InternalPoint3FStruct a, InternalPoint3FStruct b, InternalLinearColorFStruct color) { if (_drawBoxFunc == null) { _drawBoxFunc = (_drawBox)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_DebugDrawer_drawBox"), typeof(_drawBox)); } _drawBoxFunc(thisPtr, a, b, color); }