For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/interfaces/CameraTargetOptions.md.

Interface: CameraTargetOptions

Beta

用于使用自由相机瞄准一个实体。

Used to target an entity with a free camera.

Properties

offsetFromTargetCenter?

optional offsetFromTargetCenter?: Vector3

Beta

Remarks

设置一个从目标实体中心的 <x, y, z> 偏移。

Set an <x, y, z> offset from the target entity's center.


targetEntity

targetEntity: Entity

Beta

Remarks

您要瞄准的单个实体。

The singular entity you want to target.