migrate doc to wwwroot.

This commit is contained in:
2025-04-14 17:05:35 +08:00
parent 9246bd6c41
commit f2ab7fe546
10 changed files with 97 additions and 6 deletions
+11 -2
View File
@@ -4,6 +4,11 @@ using Hi.Native;
namespace Sample.Disp
{
/// <summary>
/// Demonstrates basic object picking with mouse interaction in the HiAPI system.
/// Shows how to create a pickable 3D object that responds to mouse events by changing its appearance.
/// Implements the Pickable base class to enable mouse event handling.
/// </summary>
/// <remarks>
/// ### Source Code
/// [!code-csharp[SampleCode](~/../Hi.Sample.Wpf/Disp/DemoPick1.cs)]
@@ -34,8 +39,12 @@ namespace Sample.Disp
public override void OnMouseLeave(ui_event_type e, panel_state_t state)
{
isMouseOver = false;
}
public static void Main()
}
/// <summary>
/// Entry point for the DemoPick1 example.
/// Creates and displays a simple pickable object that changes color on mouse hover.
/// </summary>
static void Main()
{
DemoUtil.RunApplication("DemoPick1", new DemoPick1());
}