Пример #1
0
            internal static _SetLevelOfDetail SetLevelOfDetail()
            {
                if (_SetLevelOfDetailFunc == null)
                {
                    _SetLevelOfDetailFunc =
                        (_SetLevelOfDetail)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxChoreographer_setLevelOfDetail"), typeof(_SetLevelOfDetail));
                }

                return(_SetLevelOfDetailFunc);
            }
Пример #2
0
            internal static _SetLevelOfDetail SetLevelOfDetail()
            {
                if (_SetLevelOfDetailFunc == null)
                {
                    _SetLevelOfDetailFunc =
                        (_SetLevelOfDetail)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxChoreographer_setLevelOfDetail"), typeof(_SetLevelOfDetail));
                }

                return(_SetLevelOfDetailFunc);
            }