Interface IProvidesPreviewInToolMenuButton
Provide the ability control the tool preview
Inherited Members
Namespace: Unity.Labs.EditorXR.Interfaces
Syntax
public interface IProvidesPreviewInToolMenuButton : IFunctionalityProvider
Methods
ClearToolsMenuButtonPreview()
Clears any ToolMenuButton previews that are set
Declaration
void ClearToolsMenuButtonPreview()
PreviewInToolsMenuButton(Transform, Type, String)
Highlights a ToolMenuButton when a menu button is highlighted Transform: Ray origin to check Type: MenuButton's tool type to preview String: The tool description to display as a Tooltip
Declaration
void PreviewInToolsMenuButton(Transform rayOrigin, Type toolType, string toolDescription)
Parameters
Type | Name | Description |
---|---|---|
Transform | rayOrigin | |
Type | toolType | |
String | toolDescription |