webani - v1.0.0
    Preparing search index...

    Options for initializing a WebaniPerspectiveCamera.

    type WebaniPerspectiveCameraOptions = {
        far?: number;
        fov?: number;
        near?: number;
        position?: Vector3;
        rotation?: Vector3;
    }
    Index

    Properties

    far?: number

    The far plane distance for the camera (default is 2e+10).

    fov?: number

    The field of view (FOV) of the camera in degrees (default is 60).

    near?: number

    The near plane distance for the camera (default is 0.1).

    position?: Vector3

    The position of the camera in 3D space (default is [0, 0, 0]).

    rotation?: Vector3

    The rotation of the camera in degrees around each axis (default is [0, 0, 0]).