HoloFair SDK V4
  • 🛠️Welcome to HoloFair SDK
  • Development
    • ⚙️Initial Setup
      • Start Here
      • Setup Addressables
      • Updating HoloFair SDK in an existing project
      • Scenes & Layers
      • Portals
      • WorldSettings
      • Build & Upload Addressables
        • CloudFront
        • BunnyCDN
      • Pubish & Test your Metaverse
    • ⭐Features
      • Text
      • Respawn
      • Link
      • Image
      • Video
      • TalkZone
      • Emote
      • Timer
      • Add Force
      • Animated Objects
      • Special/VIP content
      • Localization
      • Timeline
      • Focus Point
      • REST API Integration
        • Serialized Variables
        • Smart String
      • Interaction Events
        • Use Cases for Interaction Events
      • Editing Values
      • Control Locker
    • ‼️Important
      • Format of 3D Assets
      • 🆔GUIDs
  • Guides
    • Custom User Authentication
Powered by GitBook
On this page
  1. Development
  2. Features

Focus Point

For creating cinematics or focusing the camera on an object.

PreviousTimelineNextREST API Integration

Last updated 2 years ago

FocusPointView.cs allows you to change the focus of the camera to an object of your choice. You may combine this with and to create cinematics within your metaverse by animating your Focus Points.

Add a FocusPointView and a GuiGuidComponent to your object.

Then, create another object called Focus Point and attach a FocusPoint to it. Assign it in your FocusPointView's FocusPoint field.

Then, you will need to assign a FocusPointSettings to it. There are three that come with the HoloFair SDK package. You may pick from them or create your own Settings depending on your needs.

In order to activate the focus point, call FocusPointView.SetFocusPoint through an Event Handler and return the focus to the player by calling FocusPointView.ResetToPlayer.

⭐
Timeline
Control Locker