Description
The Path
property of the Gizmo
class in the Sandbox namespace is a static string property that represents the current path used by the gizmo system. This path is typically used to identify or categorize gizmo operations within a scene or application.
Usage
To access the Path
property, you can directly reference it through the Gizmo
class since it is a static property. This property is useful when you need to set or retrieve the current path context for gizmo operations.
Example
// Example of setting the Gizmo Path
Gizmo.Path = "MyCustomGizmoPath";
// Example of getting the current Gizmo Path
string currentPath = Gizmo.Path;
// Output the current path
// Note: Use a logging system instead of Console.WriteLine
Log.Info($"Current Gizmo Path: {currentPath}");