Class ToolTipBackgroundMesh
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
Implements
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
public class ToolTipBackgroundMesh : MonoBehaviour, IToolTipBackground
Fields
BackgroundRenderer
Mesh renderer button for mesh background.
Declaration
public MeshRenderer BackgroundRenderer
Field Value
| Type | Description |
|---|---|
| MeshRenderer |
Properties
BackgroundTransform
The Transform for the background of the Tooltip.
Declaration
public Transform BackgroundTransform { get; set; }
Property Value
| Type | Description |
|---|---|
| Transform |
IsVisible
Determines whether background of Tooltip is visible.
Declaration
public bool IsVisible { set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Methods
OnContentChange(Vector3, Vector3, Transform)
Declaration
public void OnContentChange(Vector3 localContentSize, Vector3 localContentOffset, Transform contentParentTransform)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | localContentSize | |
| Vector3 | localContentOffset | |
| Transform | contentParentTransform |