internal static _GetNodeDepth GetNodeDepth()
            {
                if (_GetNodeDepthFunc == null)
                {
                    _GetNodeDepthFunc =
                        (_GetNodeDepth)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiRiverEditorCtrl_getNodeDepth"), typeof(_GetNodeDepth));
                }

                return(_GetNodeDepthFunc);
            }
Exemple #2
0
            internal static _GetNodeDepth GetNodeDepth()
            {
                if (_GetNodeDepthFunc == null)
                {
                    _GetNodeDepthFunc =
                        (_GetNodeDepth)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiRiverEditorCtrl_getNodeDepth"), typeof(_GetNodeDepth));
                }

                return(_GetNodeDepthFunc);
            }