public static void SetFocusPointForFrame (Vector3 position);
public static void SetFocusPointForFrame (Vector3 position, Vector3 normal);
public static void SetFocusPointForFrame (Vector3 position, Vector3 normal, Vector3 velocity);

Parameters

positionThe position of the focal point in the Scene, relative to the camera.
normal在焦点处查看的平面的表面法线。
velocityA vector that describes how the focus point is moving in the Scene at this point in time. This allows the HoloLens to compensate for both your head movement and the movement of the object in the Scene.

Description

Sets a point in 3d space that is the focal point of the Scene for the user for this frame. This helps improve the visual fidelity of content around this point. This must be set every frame.

点可能会在整个场景中移动,法线则指示了点移动的方向。

The HoloLens will attempt to compensate for movement in the display around the focal plane / focal point in the Scene. You can help the system along by providing information about how the focal point is moving.

As an example, if your focus point is following a character as he jumps around your living room, the HoloLens is attempting to compensate only for the motion of your head as it is moving relative to the focal point. The HoloLens will not be factoring in the motion of the character the user is most likely focusing on at this point in time. By providing a normal and a velocity to help inform on how the character is moving within the Scene the HoloLens can better compensate and bring greater visual fidelity to the character as he moves around your Scene.

如果指定将焦点中的内容锁定到身体,系统将以未锁定到身体的内容为代价,提高锁定到身体的内容的保真度。这在用户转换角色时尤其明显。

您可以在 HoloLens 的网络界面中可视化焦点/焦平面。