Class InteractableGrabScaleTheme
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
public class InteractableGrabScaleTheme : InteractableThemeBase
Constructors
InteractableGrabScaleTheme()
Declaration
public InteractableGrabScaleTheme()
Fields
grabPercentage
Declaration
protected float grabPercentage
Field Value
Type | Description |
---|---|
Single |
grabTransition
Declaration
protected bool grabTransition
Field Value
Type | Description |
---|---|
Boolean |
hasGrab
Declaration
protected bool hasGrab
Field Value
Type | Description |
---|---|
Boolean |
startScaleValue
Declaration
protected InteractableThemePropertyValue startScaleValue
Field Value
Type | Description |
---|---|
Interactable |
timer
Declaration
protected float timer
Field Value
Type | Description |
---|---|
Single |
Methods
GetProperty(InteractableThemeProperty)
Declaration
public override InteractableThemePropertyValue GetProperty(InteractableThemeProperty property)
Parameters
Type | Name | Description |
---|---|---|
Interactable |
property |
Returns
Type | Description |
---|---|
Interactable |
Overrides
Init(GameObject, InteractableThemePropertySettings)
Declaration
public override void Init(GameObject host, InteractableThemePropertySettings settings)
Parameters
Type | Name | Description |
---|---|---|
Game |
host | |
Interactable |
settings |
Overrides
OnUpdate(Int32, Interactable, Boolean)
Declaration
public override void OnUpdate(int state, Interactable source, bool force = false)
Parameters
Type | Name | Description |
---|---|---|
Int32 | state | |
Interactable | source | |
Boolean | force |
Overrides
SetValue(InteractableThemeProperty, Int32, Single)
Declaration
public override void SetValue(InteractableThemeProperty property, int index, float percentage)
Parameters
Type | Name | Description |
---|---|---|
Interactable |
property | |
Int32 | index | |
Single | percentage |