編輯

共用方式為


SpherePointer.IgnoreCollidersNotInFOV Property

Definition

Whether to ignore colliders that may be near the pointer, but not actually in the visual FOV. This can prevent accidental grabs, and will allow hand rays to turn on when you may be near a grabbable but cannot see it. Visual FOV is defined by cone centered about display center, radius equal to half display height.

public:
 property bool IgnoreCollidersNotInFOV { bool get(); void set(bool value); };
public bool IgnoreCollidersNotInFOV { get; set; }
member this.IgnoreCollidersNotInFOV : bool with get, set
Public Property IgnoreCollidersNotInFOV As Boolean

Property Value

Applies to