migrate doc to wwwroot.
This commit is contained in:
+11
-2
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user