Interface IMainCameraController
Assembly: cs.temp.dll.dll
Syntax
public interface IMainCameraController : IPreRunGamePriorityService
Properties
IsOrthographic
Declaration
bool IsOrthographic { get; }
Property Value
IsTransformUpdating
Declaration
bool IsTransformUpdating { get; }
Property Value
MainCamera
Declaration
Camera MainCamera { get; }
Property Value
MainCameraUI
Declaration
Camera MainCameraUI { get; }
Property Value
MousePositionDelta
Declaration
Vector3 MousePositionDelta { get; }
Property Value
PanningHandler
Declaration
IMainCameraPanningHandler PanningHandler { get; }
Property Value
RotationHandler
Declaration
IMainCameraRotationHandler RotationHandler { get; }
Property Value
ZoomHandler
Declaration
IMainCameraZoomHandler ZoomHandler { get; }
Property Value
Methods
RaiseCameraTransformUpdated()
Declaration
void RaiseCameraTransformUpdated()
ScreenPointToRay(Vector3)
Declaration
Ray ScreenPointToRay(Vector3 position)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Returns
ScreenToViewportPoint(Vector3)
Declaration
Vector3 ScreenToViewportPoint(Vector3 position)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Returns
ScreenToWorldPoint(Vector3, Boolean)
Declaration
Vector3 ScreenToWorldPoint(Vector3 position, bool applyOffset = true)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Boolean |
applyOffset |
|
Returns
Events
CameraTransformUpdated
Declaration
event CustomEventHandler<IMainCameraController, EventArgs> CameraTransformUpdated
Event Type