Пример #1
0
            internal static _RetargetDecalDatablock RetargetDecalDatablock()
            {
                if (_RetargetDecalDatablockFunc == null)
                {
                    _RetargetDecalDatablockFunc =
                        (_RetargetDecalDatablock)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiDecalEditorCtrl_retargetDecalDatablock"), typeof(_RetargetDecalDatablock));
                }

                return(_RetargetDecalDatablockFunc);
            }
Пример #2
0
            internal static _RetargetDecalDatablock RetargetDecalDatablock()
            {
                if (_RetargetDecalDatablockFunc == null)
                {
                    _RetargetDecalDatablockFunc =
                        (_RetargetDecalDatablock)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiDecalEditorCtrl_retargetDecalDatablock"), typeof(_RetargetDecalDatablock));
                }

                return(_RetargetDecalDatablockFunc);
            }