SceneInterface.lookAt() method
Point the camera at a specific node or modifier.
Signature:
lookAt(target: NodeInterface | ModifierInterface): Promise<SceneInterface>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
target |
Returns:
Promise<SceneInterface>
Remarks
Repositions the camera along the target's surface normal so the target is viewed from its "front". Useful for auto-generating screenshots of specific surfaces.