PrtEngine.SetMinMaxIntersection(Single,Single) Method (Microsoft.DirectX.Direct3D)
Sets the minimum and maximum distances of intersection between 3-D objects. These distance values can be used to control the minimum or maximum distance that objects can shadow or reflect light. For example, the method can be used to limit the shadowing of nearby features of a 3-D model.
min System.Single
Minimum intersection distance. Must be positive and less than max.max System.Single
Maximum intersection distance. If 0.0f, the previous value will be used; otherwise, must be greater than min.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value. OutOfMemoryException ![]()
Microsoft Direct3D could not allocate sufficient memory to complete the call.
Show:
