コード例 #1
0
            internal static _ForceValidateText ForceValidateText()
            {
                if (_ForceValidateTextFunc == null)
                {
                    _ForceValidateTextFunc =
                        (_ForceValidateText)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiTextEditCtrl_forceValidateText"), typeof(_ForceValidateText));
                }

                return(_ForceValidateTextFunc);
            }
コード例 #2
0
ファイル: GuiTextEditCtrl.cs プロジェクト: lukaspj/T3DSharp
            internal static _ForceValidateText ForceValidateText()
            {
                if (_ForceValidateTextFunc == null)
                {
                    _ForceValidateTextFunc =
                        (_ForceValidateText)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiTextEditCtrl_forceValidateText"), typeof(_ForceValidateText));
                }

                return(_ForceValidateTextFunc);
            }