Mesh.Intersect(Vector3,Vector3,IntersectInformation,IntersectInformation)
Intersect メソッド
レイがメッシュに当たるかどうかを判別する。
定義
Visual Basic | Public Function Intersect( _ ByVal rayPos As Vector3, _ ByVal rayDir As Vector3, _ ByRef closestHit As IntersectInformation, _ ByRef allHits As IntersectInformation _ ) As Boolean |
C# | public bool Intersect( Vector3 rayPos, Vector3 rayDir, ref IntersectInformation closestHit, ref IntersectInformation allHits ); |
Managed C++ | public: bool Intersect( Vector3 rayPos, Vector3 rayDir, IntersectInformation* closestHit, IntersectInformation* allHits ); |
JScript | public function Intersect( rayPos : Vector3, rayDir : Vector3, closestHit : IntersectInformation, allHits : IntersectInformation ) : boolean; |
パラメータ
rayPos | Microsoft.DirectX.Vector3. |
rayDir | Microsoft.DirectX.Vector3. |
closestHit | Microsoft.DirectX.Direct3D.IntersectInformation. |
allHits | Microsoft.DirectX.Direct3D.IntersectInformation[]. |
戻り値
System.Boolean.
対象
© 2002 Microsoft Corporation. All rights reserved. Terms of use.