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

                return(_SetActiveForestFunc);
            }
コード例 #2
0
            internal static _SetActiveForest SetActiveForest()
            {
                if (_SetActiveForestFunc == null)
                {
                    _SetActiveForestFunc =
                        (_SetActiveForest)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnForestEditorCtrl_setActiveForest"), typeof(_SetActiveForest));
                }

                return(_SetActiveForestFunc);
            }