|
Highroad Engine v1.3
|
A camera parallel to the target. The car's distance is parametrable. A Mouse mode allows for moving the target point by drag and drop in the game scene More...
Public Member Functions | |
| virtual void | UpdateMouseController () |
| Updates camera values in mouse controller mode More... | |
| override void | RefreshTargets () |
| Refresh the target More... | |
Public Attributes | |
| bool | MouseController |
| Whether or not mouse mode is active. More... | |
| float | DragSpeed = 2 |
| the camera's movement speed More... | |
| float | Height = 35f |
| the height of the camera relative to its target More... | |
| float | XOffset = 0f |
| x distance between camera and target More... | |
| float | ZOffset = -35f |
| z distance between camera and target More... | |
Public Attributes inherited from MoreMountains.HighroadEngine.CameraController | |
| UpdateType | UpdateMode |
| Transform[] | HumanPlayers |
| List of human players. More... | |
| Transform[] | BotPlayers |
| List of bot players. More... | |
Protected Member Functions | |
| override void | CameraUpdate () |
| Updates camera position More... | |
Protected Member Functions inherited from MoreMountains.HighroadEngine.CameraController | |
| virtual void | Awake () |
| Initializes the camera gameobject More... | |
| virtual void | Update () |
| Unity Update More... | |
| virtual void | LateUpdate () |
| Unity LateUpdate More... | |
| virtual void | FixedUpdate () |
| Unity FixedUpdate More... | |
Protected Attributes | |
| Vector3 | dragOrigin |
| Transform | _target |
Protected Attributes inherited from MoreMountains.HighroadEngine.CameraController | |
| Camera | _camera |
Properties | |
| override bool | IsSinglePlayerCamera [get] |
| this type of camera can only follow one target More... | |
Properties inherited from MoreMountains.HighroadEngine.CameraController | |
| abstract bool | IsSinglePlayerCamera [get] |
| bool | GameHasStarted [getset] |
| Gets or sets a value indicating whether this game has started. More... | |
Additional Inherited Members | |
Public Types inherited from MoreMountains.HighroadEngine.CameraController | |
| enum | UpdateType { FixedUpdate , LateUpdate , Update } |
| Define when camera movement is done. More... | |
A camera parallel to the target. The car's distance is parametrable. A Mouse mode allows for moving the target point by drag and drop in the game scene
|
protectedvirtual |
Updates camera position
Implements MoreMountains.HighroadEngine.CameraController.
|
virtual |
Refresh the target
Implements MoreMountains.HighroadEngine.CameraController.
|
virtual |
Updates camera values in mouse controller mode
|
protected |
|
protected |
| float MoreMountains.HighroadEngine.ParallelCamera.DragSpeed = 2 |
the camera's movement speed
| float MoreMountains.HighroadEngine.ParallelCamera.Height = 35f |
the height of the camera relative to its target
| bool MoreMountains.HighroadEngine.ParallelCamera.MouseController |
Whether or not mouse mode is active.
| float MoreMountains.HighroadEngine.ParallelCamera.XOffset = 0f |
x distance between camera and target
| float MoreMountains.HighroadEngine.ParallelCamera.ZOffset = -35f |
z distance between camera and target
|
get |
this type of camera can only follow one target