Beispiel #1
0
            internal static _SetAmbientLightColor SetAmbientLightColor()
            {
                if (_SetAmbientLightColorFunc == null)
                {
                    _SetAmbientLightColorFunc =
                        (_SetAmbientLightColor)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiMaterialPreview_setAmbientLightColor"), typeof(_SetAmbientLightColor));
                }

                return(_SetAmbientLightColorFunc);
            }
            internal static _SetAmbientLightColor SetAmbientLightColor()
            {
                if (_SetAmbientLightColorFunc == null)
                {
                    _SetAmbientLightColorFunc =
                        (_SetAmbientLightColor)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiMaterialPreview_setAmbientLightColor"), typeof(_SetAmbientLightColor));
                }

                return(_SetAmbientLightColorFunc);
            }