phantom-camera
phantom-camera copied to clipboard
PhantomCameraManager Singleton
Project Type
2D, 3D
Feature Description
A singleton that allows the user to access all the PCam
and PCamHost
nodes from a given scene.
E.g. PhantomCameraManager.phantom_cameras
would return all of a scene's PCams
as an array, or PhantomCameraManager.active_phantom_camera
would return the currently active PCam
.
It also opens up for #280 to be more easily integrated, as it would help keep track of PCams
as they turn on or off.
Use Cases
Useful for many scenarios.
Means the user can e.g. quickly identify which PCam
is active and access its properties without having to store a reference in a script or make their own managers.
(Optional) Proposed Solution
No response
Relates to #267