internal static _GetDecalCount GetDecalCount()
            {
                if (_GetDecalCountFunc == null)
                {
                    _GetDecalCountFunc =
                        (_GetDecalCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiDecalEditorCtrl_getDecalCount"), typeof(_GetDecalCount));
                }

                return(_GetDecalCountFunc);
            }
            internal static _GetDecalCount GetDecalCount()
            {
                if (_GetDecalCountFunc == null)
                {
                    _GetDecalCountFunc =
                        (_GetDecalCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiDecalEditorCtrl_getDecalCount"), typeof(_GetDecalCount));
                }

                return(_GetDecalCountFunc);
            }