예제 #1
0
            internal static _GetShapeFile GetShapeFile()
            {
                if (_GetShapeFileFunc == null)
                {
                    _GetShapeFileFunc =
                        (_GetShapeFile)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnShapeAsset_getShapeFile"), typeof(_GetShapeFile));
                }

                return(_GetShapeFileFunc);
            }
예제 #2
0
            internal static _GetShapeFile GetShapeFile()
            {
                if (_GetShapeFileFunc == null)
                {
                    _GetShapeFileFunc =
                        (_GetShapeFile)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnShapeAsset_getShapeFile"), typeof(_GetShapeFile));
                }

                return(_GetShapeFileFunc);
            }