Exemplo n.º 1
0
            internal static void SetFogColor(IntPtr thisPtr, InternalColorIStruct new_color)
            {
                if (_SetFogColorFunc == null)
                {
                    _SetFogColorFunc =
                        (_SetFogColor)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                                 "fn_VolumetricFog_SetFogColor"), typeof(_SetFogColor));
                }

                _SetFogColorFunc(thisPtr, new_color);
            }
Exemplo n.º 2
0
            internal static _SetFogColor SetFogColor()
            {
                if (_SetFogColorFunc == null)
                {
                    _SetFogColorFunc =
                        (_SetFogColor)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnVolumetricFog_SetFogColor"), typeof(_SetFogColor));
                }

                return(_SetFogColorFunc);
            }
Exemplo n.º 3
0
            internal static _SetFogColor SetFogColor()
            {
                if (_SetFogColorFunc == null)
                {
                    _SetFogColorFunc =
                        (_SetFogColor)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnVolumetricFog_SetFogColor"), typeof(_SetFogColor));
                }

                return(_SetFogColorFunc);
            }