GlowEffectView controls the glow effect that happens when pinching and tapping.

I did not extend View class because while this q acts like a View in the sense that it is messing with UI/visuals, it does so through SceneObjects and textures which are passed in as parameters, instead of needing its own SceneObject hierarchy to be added.

Constructors

Properties

_enabled: boolean = true
behindColor: vec4 = ...
camera: default = ...
currentFingerBrightness: number = 0
currentGlowBrightness: number = 0
farFieldStartTime: number = 0
fieldTransitionLerp: number = 0
glowEffectViewModel: GlowEffectViewModel = ...
hand: default = ...
handInteractor: HandInteractor = ...
handOccluderMaterial: Material = ...
handOutlineMaterial: Material = ...
handProvider: HandInputData = ...
handToTap: default = ...
handVisuals: HandVisuals = ...
hoverColor: vec4 = ...
indexGlowBase: number = 0
indexGlowBonus: number = 0
indexGlowBonusCancelSet: CancelSet = ...
indexGlowStrengthCancelSet: CancelSet = ...
indexQuadSceneObject: SceneObject = ...
indexQuadTransform: Transform = ...
indexTipSceneObject: SceneObject = ...
isInNearPinchMode: boolean = false
isInPalmUIMode: boolean = false
isInTargetingMode: boolean = false
lastFingerBrightness: number = 0
lastFrameField: FieldTargetingMode = FieldTargetingMode.FarField
lastGlowBrightness: number = 0
nearFieldStartTime: number = 0
pinchFingerBrightness: number = 0
pinchGlowBrightness: number = 0
pinchTransitionColor: vec4 = ...
pokeFingerBrightness: number = 0
pokeGlowBrightness: number = 0
shouldThumbPokeGlow: boolean = ...
sikLogLevelProvider: default = ...
tapGlowEnabled: boolean = ...
thumbGlowBase: number = 0
thumbGlowBonus: number = 0
thumbGlowBonusCancelSet: CancelSet = ...
thumbGlowStrengthCancelSet: CancelSet = ...
thumbQuadSceneObject: SceneObject = ...
thumbQuadTransform: Transform = ...
thumbTipSceneObject: SceneObject = ...
timeSinceLastTransition: number = 0
tipGlowMaterialIndexTip: Material = ...

Pinch glow effect manipulates these materials to create the "glow"

tipGlowMaterialThumbTip: Material = ...
triggerColor: vec4 = ...
updateDispatcher: UpdateDispatcher = ...
visualSelection: HandVisualSelection = ...

Accessors

  • set enabled(isEnabled: boolean): void

    Enable/disable the SceneObject's created by this class

    Parameters

    • isEnabled: boolean

      boolean representing whether to enable or disable this class

    Returns void

Methods

  • Parameters

    • animateUp: boolean

    Returns void

  • Parameters

    • animateUp: boolean

    Returns void

  • Parameters

    • animateUp: boolean

    Returns void

  • Parameters

    • animateUp: boolean

    Returns void

  • Returns boolean

  • Returns boolean

  • Returns boolean

  • Returns boolean

    boolean

  • Clean up the SceneObject's created by PinchGlow

    Returns void

  • Cannot use this.config.hand.isFacingCamera() as that only triggers if hand is facing directly at camera, where we need more broad definition

    Parameters

    Returns boolean

    boolean

  • Parameters

    • isInNearPinchMode: boolean

    Returns void

  • Parameters

    • isInPalmUIMode: boolean

    Returns void

  • Parameters

    • isInTargetingMode: boolean

    Returns void

  • Returns void

  • Returns void

MMNEPVFCICPMFPCPTTAAATR