C# Класс CameraBuddy.Camera.CameraState

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CameraState ( ) : System

Creates an instance of CameraState with the current Camera's settings.

CameraState ( System.Vector2 yaw, float pitch, System.Vector2 screenPos, float zoomDistance ) : System

Creates an instance of CameraState with the specified values; The values are not set until Set() is called.

CameraState ( System.Vector3 yawPitch, System.Vector2 screenPos, float zoomDistance ) : System

Creates an instance of CameraState with the with the specified values.

Clear ( ) : void
Dispose ( ) : void
Set ( float speed = -1 ) : void

Описание методов

CameraState() публичный Метод

Creates an instance of CameraState with the current Camera's settings.
public CameraState ( ) : System
Результат System

CameraState() публичный Метод

Creates an instance of CameraState with the specified values; The values are not set until Set() is called.
public CameraState ( System.Vector2 yaw, float pitch, System.Vector2 screenPos, float zoomDistance ) : System
yaw System.Vector2
pitch float
screenPos System.Vector2
zoomDistance float
Результат System

CameraState() публичный Метод

Creates an instance of CameraState with the with the specified values.
public CameraState ( System.Vector3 yawPitch, System.Vector2 screenPos, float zoomDistance ) : System
yawPitch System.Vector3
screenPos System.Vector2
zoomDistance float
Результат System

Clear() публичный Метод

public Clear ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Set() публичный Метод

public Set ( float speed = -1 ) : void
speed float
Результат void