This topic has not yet been rated - Rate this topic

BoundingSphere.Intersects Method (Ray, Nullable<Single>)

Checks whether the current BoundingSphere intersects a Ray.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public void Intersects (
         ref Ray ray,
         out Nullable<float> result
)

Parameters

ray
The Ray to check for intersection with.
result
[OutAttribute] Distance at which the ray intersects the BoundingSphere or null if there is no intersection.
Xbox 360, Windows XP SP2, Windows Vista, Zune
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.