示例#1
0
            internal static void SetFogLightray(IntPtr thisPtr, bool on_off, float strength)
            {
                if (_SetFogLightrayFunc == null)
                {
                    _SetFogLightrayFunc =
                        (_SetFogLightray)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                                    "fn_VolumetricFog_SetFogLightray"), typeof(_SetFogLightray));
                }

                _SetFogLightrayFunc(thisPtr, on_off, strength);
            }
示例#2
0
            internal static _SetFogLightray SetFogLightray()
            {
                if (_SetFogLightrayFunc == null)
                {
                    _SetFogLightrayFunc =
                        (_SetFogLightray)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnVolumetricFog_SetFogLightray"), typeof(_SetFogLightray));
                }

                return(_SetFogLightrayFunc);
            }
示例#3
0
            internal static _SetFogLightray SetFogLightray()
            {
                if (_SetFogLightrayFunc == null)
                {
                    _SetFogLightrayFunc =
                        (_SetFogLightray)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnVolumetricFog_SetFogLightray"), typeof(_SetFogLightray));
                }

                return(_SetFogLightrayFunc);
            }