Capítulo 685 de 859

Chapter 685: CameraUtils

Core Idea

Reference for CameraUtils.

Code Examples

import * as CameraUtils from 'three/addons/utils/CameraUtils.js';
  • What it demonstrates: Typical usage of CameraUtils.

Reference Tables

Methods

MethodDescription
.frameCorners( camera : PerspectiveCamera, bottomLeftCorner : Vector3, bottomRightCorner : Vector3, topLeftCorner : Vector3, estimateViewFrustum : boolean ) (inner)Set projection matrix and the orientation of a perspective camera to exactly frame the corners of an arbitrary rectangle. NOTE: This function ignores the standard parameters; do not call `updateProje…

Key Takeaways

  1. Key methods: frameCorners.

Connects To