Table of Contents

Interface ICameraAPI

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public interface ICameraAPI
Extension Methods

Properties

CameraOffset

ModelTransform CameraOffset { get; }

Property Value

ModelTransform

CameraShakeStrength

float CameraShakeStrength { get; }

Property Value

float

Fov

Field of view in Radians. Also updates ZNear to a value that is appropriate for the current FOV. If you want to change ZNear, set it after changing FOV.

float Fov { get; set; }

Property Value

float

UpdateCameraPos

bool UpdateCameraPos { get; set; }

Property Value

bool

deltaSum

double deltaSum { get; }

Property Value

double