Exemplo n.º 1
0
            internal static _SetCone SetCone()
            {
                if (_SetConeFunc == null)
                {
                    _SetConeFunc =
                        (_SetCone)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_setCone"), typeof(_SetCone));
                }

                return(_SetConeFunc);
            }
Exemplo n.º 2
0
            internal static _SetCone SetCone()
            {
                if (_SetConeFunc == null)
                {
                    _SetConeFunc =
                        (_SetCone)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_setCone"), typeof(_SetCone));
                }

                return(_SetConeFunc);
            }