Class ToolTipBackgroundBlob
A background with 'fake' inertia
Useful for soft or liquid objects
Inheritance
ToolTipBackgroundBlob
Assembly: cs.temp.dll.dll
public class ToolTipBackgroundBlob : MonoBehaviour, IToolTipBackground
Fields
Mesh renderer for mesh background.
Declaration
public MeshRenderer BackgroundRenderer
Field Value
Type |
Description |
MeshRenderer |
|
Properties
Declaration
public float BlobDistortion { get; set; }
Property Value
Declaration
public float BlobInertia { get; set; }
Property Value
Declaration
public Vector3 BlobOffset { get; set; }
Property Value
Declaration
public float BlobRotation { get; set; }
Property Value
Declaration
public float DistortionCorrectionStrength { get; set; }
Property Value
Determines whether background of Tooltip is visible.
Declaration
public bool IsVisible { set; }
Property Value
Declaration
public float PositionCorrectionStrength { get; set; }
Property Value
Declaration
public float RotationCorrectionStrength { get; set; }
Property Value
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 |
|
Implements