brepjs API Reference
    Preparing search index...

    Function cameraLookAt

    • Create a new camera oriented to look at a target point from the current position.

      Parameters

      • camera: Camera

        Existing camera whose position is preserved.

      • target: Vec3

        World-space point to look at.

      Returns Result<Camera>

      Result<Camera> with updated direction and derived axes.