RayCast.MaxHits Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The maximum number of hits to collect. Only needed for ClosestHits. This number must be between 0 and 1024, with 1024 being a hard limit for the number of supported hit results. A value of 0 returns up to the maximum number of supported hits. In case the number of actual hits exceeds the limit, the n closest hits are returned.
public: int MaxHits;
public int MaxHits;
val mutable MaxHits : int
Public MaxHits As Integer