internal static _SetPlay SetPlay()
            {
                if (_SetPlayFunc == null)
                {
                    _SetPlayFunc =
                        (_SetPlay)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnTimeOfDay_setPlay"), typeof(_SetPlay));
                }

                return(_SetPlayFunc);
            }
Exemple #2
0
            internal static _SetPlay SetPlay()
            {
                if (_SetPlayFunc == null)
                {
                    _SetPlayFunc =
                        (_SetPlay)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnTimeOfDay_setPlay"), typeof(_SetPlay));
                }

                return(_SetPlayFunc);
            }