PrtEngine.SetMinMaxIntersection Method |
Language: |
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.
Visual Basic Public Sub SetMinMaxIntersection( _
ByVal min As Single, _
ByVal max As Single _
)C# public void SetMinMaxIntersection(
float min,
float max
);C++ public:
void SetMinMaxIntersection(
float min,
float max
);JScript public function SetMinMaxIntersection(
min : float,
max : float
);
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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.