示例#1
0
            internal static _GetParameterCount GetParameterCount()
            {
                if (_GetParameterCountFunc == null)
                {
                    _GetParameterCountFunc =
                        (_GetParameterCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_getParameterCount"), typeof(_GetParameterCount));
                }

                return(_GetParameterCountFunc);
            }
示例#2
0
            internal static _GetParameterCount GetParameterCount()
            {
                if (_GetParameterCountFunc == null)
                {
                    _GetParameterCountFunc =
                        (_GetParameterCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_getParameterCount"), typeof(_GetParameterCount));
                }

                return(_GetParameterCountFunc);
            }