Skip to content

textmode.js / Textmodifier / createCamera

Method: createCamera() ​

ts
createCamera(): TextmodeCamera;

Create and activate a camera initialized from the current render camera state.

Useful for workflows where camera properties are mutated over time and reapplied via setCamera.

Returns ​

TextmodeCamera

Example ​