示例#1
0
            internal static _GetParameter GetParameter()
            {
                if (_GetParameterFunc == null)
                {
                    _GetParameterFunc =
                        (_GetParameter)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_getParameter"), typeof(_GetParameter));
                }

                return(_GetParameterFunc);
            }
示例#2
0
            internal static _GetParameter GetParameter()
            {
                if (_GetParameterFunc == null)
                {
                    _GetParameterFunc =
                        (_GetParameter)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_getParameter"), typeof(_GetParameter));
                }

                return(_GetParameterFunc);
            }