Class InteractableThemeBase
Base class for themes
Inheritance
InteractableThemeBase
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
public abstract class InteractableThemeBase
Fields
AssemblyQualifiedName
Declaration
public string AssemblyQualifiedName
Field Value
Type | Description |
---|---|
String |
CustomSettings
Declaration
public List<InteractableCustomSetting> CustomSettings
Field Value
Type | Description |
---|---|
List<InteractableCustomSetting> |
Ease
Declaration
public Easing Ease
Field Value
Type | Description |
---|---|
Easing |
Host
Declaration
public GameObject Host
Field Value
Type | Description |
---|---|
GameObject |
Loaded
Declaration
public bool Loaded
Field Value
Type | Description |
---|---|
Boolean |
Name
Declaration
public string Name
Field Value
Type | Description |
---|---|
String |
NoEasing
Declaration
public bool NoEasing
Field Value
Type | Description |
---|---|
Boolean |
ThemeProperties
Declaration
public List<InteractableThemeProperty> ThemeProperties
Field Value
Type | Description |
---|---|
List<InteractableThemeProperty> |
Types
Declaration
public Type[] Types
Field Value
Type | Description |
---|---|
Type[] |
Methods
CopyEase(Easing)
Declaration
protected Easing CopyEase(Easing ease)
Parameters
Type | Name | Description |
---|---|---|
Easing | ease |
Returns
Type | Description |
---|---|
Easing |
GetProperty(InteractableThemeProperty)
Declaration
public abstract InteractableThemePropertyValue GetProperty(InteractableThemeProperty property)
Parameters
Type | Name | Description |
---|---|---|
InteractableThemeProperty | property |
Returns
Type | Description |
---|---|
InteractableThemePropertyValue |
Init(GameObject, InteractableThemePropertySettings)
Declaration
public virtual void Init(GameObject host, InteractableThemePropertySettings settings)
Parameters
Type | Name | Description |
---|---|---|
GameObject | host | |
InteractableThemePropertySettings | settings |
LerpFloat(Single, Single, Single)
Declaration
protected float LerpFloat(float s, float e, float t)
Parameters
Type | Name | Description |
---|---|---|
Single | s | |
Single | e | |
Single | t |
Returns
Type | Description |
---|---|
Single |
LerpInt(Int32, Int32, Single)
Declaration
protected int LerpInt(int s, int e, float t)
Parameters
Type | Name | Description |
---|---|---|
Int32 | s | |
Int32 | e | |
Single | t |
Returns
Type | Description |
---|---|
Int32 |
OnUpdate(Int32, Interactable, Boolean)
Declaration
public virtual void OnUpdate(int state, Interactable source, bool force = false)
Parameters
Type | Name | Description |
---|---|---|
Int32 | state | |
Interactable | source | |
Boolean | force |
SetValue(InteractableThemeProperty, Int32, Single)
Declaration
public abstract void SetValue(InteractableThemeProperty property, int index, float percentage)
Parameters
Type | Name | Description |
---|---|---|
InteractableThemeProperty | property | |
Int32 | index | |
Single | percentage |