CameraRenderEvents
A class in Root.Township, Alta.ScreenshotCamera.
Component added to a Unity camera to forward its pre-cull and post-render callbacks to actions.
- Listed in Customization and screenshots
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
CameraRenderEvents() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Events
2 private and internal events
Methods
| Member | What it is |
|---|---|
static void AddCamera(Camera camera, Action onPreCull, Action onPostRender) | Adds or gets the component on a camera and subscribes the two actions. |