コード例 #1
0
ファイル: ForestEditorCtrl.cs プロジェクト: lukaspj/T3DSharp
            internal static _UpdateActiveForest UpdateActiveForest()
            {
                if (_UpdateActiveForestFunc == null)
                {
                    _UpdateActiveForestFunc =
                        (_UpdateActiveForest)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnForestEditorCtrl_updateActiveForest"), typeof(_UpdateActiveForest));
                }

                return(_UpdateActiveForestFunc);
            }
コード例 #2
0
            internal static _UpdateActiveForest UpdateActiveForest()
            {
                if (_UpdateActiveForestFunc == null)
                {
                    _UpdateActiveForestFunc =
                        (_UpdateActiveForest)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnForestEditorCtrl_updateActiveForest"), typeof(_UpdateActiveForest));
                }

                return(_UpdateActiveForestFunc);
            }