Multicore Games
  • 📷Welcome to VHS Camera - Widget
  • Overview
    • ✨Features
  • Setup and Implementation
    • 🛠️Getting set up
      • ⚙️General Setup
      • 👀Player Setup
      • ☄️Functions
Powered by GitBook
On this page
  1. Setup and Implementation
  2. Getting set up

Functions

PreviousPlayer Setup

Last updated 1 year ago

Update Visibility

The Update Visibility Function checks and sets the visibility of different widget components.

Parameters:

  1. Menu? - Sets the Widget state to the menu state where everything is paused

  2. Content Viz - Sets the visibility of the entire Widget

  3. Time Viz - Sets the visibility of the Time Indicator

  4. Zoom Viz - Sets the visibility of the Zoom Slider

  5. Deco Viz - Sets the visibility of the outside Decorations (Lines, ISO and AF/AWB)

  6. Crosshair Viz - Sets the visibility of the Crosshair

  7. Battery Viz - Sets the visibility of the Battery Indicator

Update Battery

The Update Battery Function checks and sets the battery percentage and updates the battery animation.

Parameters:

  1. Battery Percent - Sets the percentage of the battery (0-100)

Update Interact

The Update Interact Function checks and sets the Message Prompt below the crosshair.

Parameters:

  1. In Visibility - Sets the Component visibility of the Widget (Visible, Collapsed, Hidden, Not Hit-Testable Self & All Children, Not Hit-Testable Self Only)

  2. In Text - Sets the text of the Message Prompt (Ex: [E] Interact)

Update Flashlight

The Update Battery Function checks and sets the battery percentage and updates the battery animation.

Parameters:

  1. Battery Percent - Sets the percentage of the battery (0-100)

Update Zoom Slider

The Update Zoom Slider Function checks and sets the Zoom Slider value.

Parameters:

  1. FOV Value - Sets the current value of the Field Of View

  2. FOV Min - Sets Minimum value of the Field Of View

  3. FOV Max - Sets Maximum value of the Field Of View

Black Screen

The Black Screen Function creates a blinking black screen animation for transitions.

Parameters:

  1. Duration - Sets the duration of a single black screen effect

  2. Variation - Sets the variation of duration of a single black screen effect

  3. Repeat Delay - Sets the repeat delay between black screen effects

  4. Repeat Delay Var - Sets the variation of repeat delay between black screen effects

  5. Repeat Times - Sets the times to repeat single black screen effects

🛠️
☄️