BlockableCamera
An abstract class in Root.Township, Alta.ScreenshotCamera.
Base for a hand camera view that switches its camera off while something is in the way (a sphere or capsule check, in the subclasses). Client side.
- Listed in Customization and screenshots
- Inherits or implements
MonoBehaviour - Derived types
CapsuleBlockableCamera,SphereBlockableCamera
Constructors
| Member | What it is |
|---|---|
protected BlockableCamera() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private PostProcessLayer postProcessLayer | Backing field for PostProcessLayer. |
private HandCameraSettings settings | Hand camera settings. Supplies the layer mask used to test for blocking. |
private Camera targetCamera | Backing field for TargetCamera, the camera turned off while blocked. |
Properties
Methods
Used in
Members of other types that take, return or hold a BlockableCamera: