Set a personal perspective||doc135748

September 20, 2022

Format

 GameSettings:setPersonView(viewMode) 

Description

Switch the personal perspective, usually: 0: first person, 1: third person, 2: frontal person, 3: follow perspective, 4: fixed perspective. Perspective mode byloadCameraCfgIt is decided that the subscript index of the view mode is 0-based.


Parameters

Variable name type Description
viewMode int perspective mode


Code Samples

Blockman.Instance().gameSettings:setPersonView(1)