Modifier

Partager via


MixedRealityControllerInfo Class

Definition

This script keeps track of the GameObjects representations for each button on the Mixed Reality Controllers. It also keeps track of the animation Transforms in order to properly animate according to user input.

public ref class MixedRealityControllerInfo
public class MixedRealityControllerInfo
type MixedRealityControllerInfo = class
Public Class MixedRealityControllerInfo
Inheritance
MixedRealityControllerInfo

Constructors

MixedRealityControllerInfo(GameObject, Handedness)

Fields

ControllerParent
Handedness

Methods

AnimateGrasp(Boolean)
AnimateHome(Boolean)
AnimateMenu(Boolean)
AnimateSelect(Single)
AnimateThumbstick(Boolean, Vector2)
AnimateTouchpad(Boolean, Boolean, Vector2)
LoadInfo(Transform[], MixedRealityControllerVisualizer)

Iterates through the Transform array to find specifically named GameObjects. These GameObjects specify the animation bounds and the GameObject to modify for button, thumbstick, and touchpad animation.

SetRenderersVisible(Boolean)
TryGetElement(MixedRealityControllerInfo+ControllerElementEnum, Transform)

Applies to