determineVisibleDepthRange Method

Computes the range of npc depth values for a region of the screen

determineVisibleDepthRange(rect?: ViewRect, result?: DepthRangeNpc): DepthRangeNpc | undefined

Parameter Type Description
rect ViewRect the rectangle to test. If undefined, test entire view
result DepthRangeNpc optional DepthRangeNpc to store the result

Returns - the minimum and maximum depth values within the region, or undefined.

Defined in

Last Updated: 10 September, 2019