Editar

Compartir a través de


ToolTipBackgroundMesh Class

Definition

Renders a background mesh for a tool tip using a mesh renderer If the mesh has an offset anchor point you will get odd results

public ref class ToolTipBackgroundMesh : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::UI::IToolTipBackground
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/ToolTipBackgroundMesh")]
public class ToolTipBackgroundMesh : UnityEngine.MonoBehaviour, Microsoft.MixedReality.Toolkit.UI.IToolTipBackground
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/ToolTipBackgroundMesh")>]
type ToolTipBackgroundMesh = class
    inherit MonoBehaviour
    interface IToolTipBackground
Public Class ToolTipBackgroundMesh
Inherits MonoBehaviour
Implements IToolTipBackground
Inheritance
UnityEngine.MonoBehaviour
ToolTipBackgroundMesh
Attributes
UnityEngine.AddComponentMenuAttribute
Implements

Constructors

ToolTipBackgroundMesh()

Fields

BackgroundRenderer

Mesh renderer button for mesh background.

Properties

BackgroundTransform

The Transform for the background of the Tooltip.

IsVisible

Determines whether background of Tooltip is visible.

Methods

OnContentChange(Vector3, Vector3, Transform)

Applies to