phantom-camera icon indicating copy to clipboard operation
phantom-camera copied to clipboard

PhantomCameraManager Singleton

Open ramokz opened this issue 9 months ago • 1 comments

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

ramokz avatar May 03 '24 10:05 ramokz

Relates to #267

ramokz avatar May 03 '24 20:05 ramokz