Tanoda
Leap.Unity.InputModule.CompressibleUI.Layer Struct Reference

Public Attributes

string Label
 
RectTransform LayerTransform
 
float MaxFloatDistance
 
float MinFloatDistance
 
UnityEngine.UI.Image Shadow
 
bool ShadowOnAboveLayer
 
bool TriggerLayerEvent
 
float MaxShadowOpacity
 
float CurrentFloatingDistance
 
bool touchingFinger
 
float distanceToAboveLayer
 
float maxDistanceToAboveLayer
 

Detailed Description

The properties of a CompressibleUI layer.

Definition at line 29 of file CompressibleUI.cs.

Member Data Documentation

◆ CurrentFloatingDistance

float Leap.Unity.InputModule.CompressibleUI.Layer.CurrentFloatingDistance

The current distance at which members of the layer are floating.

Definition at line 58 of file CompressibleUI.cs.

◆ distanceToAboveLayer

float Leap.Unity.InputModule.CompressibleUI.Layer.distanceToAboveLayer

The distance to the parent layer.

Definition at line 64 of file CompressibleUI.cs.

◆ Label

string Leap.Unity.InputModule.CompressibleUI.Layer.Label

A name for the layer.

Definition at line 32 of file CompressibleUI.cs.

◆ LayerTransform

RectTransform Leap.Unity.InputModule.CompressibleUI.Layer.LayerTransform

The child UI Element to float above the parent element.

Definition at line 36 of file CompressibleUI.cs.

◆ maxDistanceToAboveLayer

float Leap.Unity.InputModule.CompressibleUI.Layer.maxDistanceToAboveLayer

The maximum allowed distance to the parent layer.

Definition at line 67 of file CompressibleUI.cs.

◆ MaxFloatDistance

float Leap.Unity.InputModule.CompressibleUI.Layer.MaxFloatDistance

The height above this (base) element that the Layer will float.

Definition at line 39 of file CompressibleUI.cs.

◆ MaxShadowOpacity

float Leap.Unity.InputModule.CompressibleUI.Layer.MaxShadowOpacity

The maximum value used for drop shadow opacity.

Definition at line 55 of file CompressibleUI.cs.

◆ MinFloatDistance

float Leap.Unity.InputModule.CompressibleUI.Layer.MinFloatDistance

The minimum height that this layer can be compressed to.

Definition at line 42 of file CompressibleUI.cs.

◆ Shadow

UnityEngine.UI.Image Leap.Unity.InputModule.CompressibleUI.Layer.Shadow

An optional dropshadow image component.

Definition at line 45 of file CompressibleUI.cs.

◆ ShadowOnAboveLayer

bool Leap.Unity.InputModule.CompressibleUI.Layer.ShadowOnAboveLayer

Whether the shadow effect is not a child of this layer, but rather, a child of the layer above it (for masking purposes).

Definition at line 48 of file CompressibleUI.cs.

◆ touchingFinger

bool Leap.Unity.InputModule.CompressibleUI.Layer.touchingFinger

Whether or not a finger is touching members of this layer.

Definition at line 61 of file CompressibleUI.cs.

◆ TriggerLayerEvent

bool Leap.Unity.InputModule.CompressibleUI.Layer.TriggerLayerEvent

Whether a layer event is triggered upon touching this layer.

Definition at line 51 of file CompressibleUI.cs.


The documentation for this struct was generated from the following file: