CameraFocus used for custom cameras. More...
Public Member Functions | |
| void | AssignCameraFocus (object cameraFocus) |
| Internal use. | |
| abstract void | UpdateCamera (ModGameplayCamera camera, Transform cameraTransform) |
| Called per frame to update the camera. | |
| virtual bool | IsFOVChangeAllowed () |
| Whether FOV changing is allowed. | |
| virtual bool | ShouldResetFOVOnFocus () |
| Whether should change FOV to default FOV on focus. | |
| ModCameraFocusCallbacks | GetInternalCallbacks () |
| Internal use. | |
Public Member Functions inherited from ModWobblyLife.Network.ModNetworkSubBehaviour | |
| void | RegisterRPCs (ModNetworkObject networkObject) |
| Called when you should register rpcs. | |
| void | NetworkStart (ModNetworkObject networkObject) |
| Called when this object is ready on the network. | |
| void | NetworkPost (ModNetworkObject networkObject) |
| Called after fully initalized the network. | |
| GameObject | GetGameObject () |
| Returns the gameobject of this object. | |
| void | RegisterRPCs (ModNetworkObject networkObject) |
| Called when you should register rpcs. | |
| void | NetworkStart (ModNetworkObject networkObject) |
| Called when this object is ready on the network. | |
| void | NetworkPost (ModNetworkObject networkObject) |
| Called after fully initalized the network. | |
| GameObject | GetGameObject () |
| Returns the gameobject of this object. | |
Protected Member Functions | |
| override void | Awake () |
| abstract void | OnFocusCamera (ModPlayerController playerController) |
| When a camera has focused on this camera focus. | |
| abstract void | OnUnfocusCamera (ModPlayerController playerController) |
| When a camera has unfocused from this camera focus. | |
Protected Member Functions inherited from ModWobblyLife.Network.ModNetworkSubBehaviour | |
| virtual void | Awake () |
| virtual void | Start () |
| virtual void | OnDestroy () |
| virtual void | ModAwake () |
| virtual void | ModStart () |
| virtual void | ModOnDestroy () |
| virtual void | ModRegisterRPCs (ModNetworkObject modNetworkObject) |
| virtual void | ModNetworkStart (ModNetworkObject modNetworkObject) |
| virtual void | ModNetworkPost (ModNetworkObject modNetworkObject) |
Events | |
| static Action< ModCameraFocus > | onPrepare |
| Internal use. | |
Additional Inherited Members | |
Public Attributes inherited from ModWobblyLife.Network.ModNetworkSubBehaviour | |
| ModNetworkObject | modNetworkObject |
CameraFocus used for custom cameras.
| void ModWobblyLife.ModCameraFocus.AssignCameraFocus | ( | object | cameraFocus | ) |
Internal use.
| cameraFocus |
|
protectedvirtual |
Reimplemented from ModWobblyLife.Network.ModNetworkSubBehaviour.
| ModCameraFocusCallbacks ModWobblyLife.ModCameraFocus.GetInternalCallbacks | ( | ) |
Internal use.
|
virtual |
|
protectedpure virtual |
When a camera has focused on this camera focus.
| playerController |
Implemented in ModWobblyLife.ModCameraFocusRef, and ModWobblyLife.ModCameraFocusSimpleLookAt.
|
protectedpure virtual |
When a camera has unfocused from this camera focus.
| playerController |
Implemented in ModWobblyLife.ModCameraFocusRef, and ModWobblyLife.ModCameraFocusSimpleLookAt.
|
virtual |
Whether should change FOV to default FOV on focus.
Reimplemented in ModWobblyLife.ModCameraFocusSimpleLookAt.
|
pure virtual |
Called per frame to update the camera.
| camera | |
| cameraTransform |
Implemented in ModWobblyLife.ModCameraFocusRef, and ModWobblyLife.ModCameraFocusSimpleLookAt.
|
static |
Internal use.