예제 #1
0
            internal static void setNodeDepth(IntPtr thisPtr, int idx, float meters)
            {
                if (_setNodeDepthFunc == null)
                {
                    _setNodeDepthFunc =
                        (_setNodeDepth)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                                  "fn_River_setNodeDepth"), typeof(_setNodeDepth));
                }

                _setNodeDepthFunc(thisPtr, idx, meters);
            }
            internal static void setNodeDepth(IntPtr thisPtr, float depth)
            {
                if (_setNodeDepthFunc == null)
                {
                    _setNodeDepthFunc =
                        (_setNodeDepth)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                                  "fn_GuiMeshRoadEditorCtrl_setNodeDepth"), typeof(_setNodeDepth));
                }

                _setNodeDepthFunc(thisPtr, depth);
            }