ThreePresenter API Documentation - v0.1.2
    Preparing search index...

    Interface CameraConfig

    Configuration for camera initialization.

    This interface is used only during setup to define the starting properties of the camera. All fields are optional and have sensible defaults.

    interface CameraConfig {
        fov?: number;
        near?: number;
        far?: number;
        frustumSize?: number;
        initialPosition?: Vector3;
        initialTarget?: Vector3;
    }
    Index

    Properties

    fov?: number

    Field of view for perspective camera (degrees)

    near?: number

    Near clipping plane

    far?: number

    Far clipping plane

    frustumSize?: number

    Initial frustum size for orthographic camera

    initialPosition?: Vector3

    Initial camera position

    initialTarget?: Vector3

    Initial controls target