共用方式為


RayCast 建構函式

定義

多載

RayCast(Double3, Double3, HitCollectionPolicy, Int32, UInt32)
RayCast(Double3, Double3, Double, HitCollectionPolicy, Int32, UInt32)

RayCast(Double3, Double3, HitCollectionPolicy, Int32, UInt32)

public RayCast (Microsoft.Azure.RemoteRendering.Double3 startPos, Microsoft.Azure.RemoteRendering.Double3 endPos, Microsoft.Azure.RemoteRendering.HitCollectionPolicy hitCollection = Microsoft.Azure.RemoteRendering.HitCollectionPolicy.ClosestHits, int maxHits = 1024, uint collisionMask = 4294967295);
new Microsoft.Azure.RemoteRendering.RayCast : Microsoft.Azure.RemoteRendering.Double3 * Microsoft.Azure.RemoteRendering.Double3 * Microsoft.Azure.RemoteRendering.HitCollectionPolicy * int * uint32 -> Microsoft.Azure.RemoteRendering.RayCast
Public Sub New (startPos As Double3, endPos As Double3, Optional hitCollection As HitCollectionPolicy = Microsoft.Azure.RemoteRendering.HitCollectionPolicy.ClosestHits, Optional maxHits As Integer = 1024, Optional collisionMask As UInteger = 4294967295)

參數

startPos
Double3
endPos
Double3
hitCollection
HitCollectionPolicy
maxHits
Int32
collisionMask
UInt32

適用於

RayCast(Double3, Double3, Double, HitCollectionPolicy, Int32, UInt32)

public RayCast (Microsoft.Azure.RemoteRendering.Double3 startPos, Microsoft.Azure.RemoteRendering.Double3 dir, double maxDistance, Microsoft.Azure.RemoteRendering.HitCollectionPolicy hitCollection = Microsoft.Azure.RemoteRendering.HitCollectionPolicy.ClosestHits, int maxHits = 1024, uint collisionMask = 4294967295);
new Microsoft.Azure.RemoteRendering.RayCast : Microsoft.Azure.RemoteRendering.Double3 * Microsoft.Azure.RemoteRendering.Double3 * double * Microsoft.Azure.RemoteRendering.HitCollectionPolicy * int * uint32 -> Microsoft.Azure.RemoteRendering.RayCast
Public Sub New (startPos As Double3, dir As Double3, maxDistance As Double, Optional hitCollection As HitCollectionPolicy = Microsoft.Azure.RemoteRendering.HitCollectionPolicy.ClosestHits, Optional maxHits As Integer = 1024, Optional collisionMask As UInteger = 4294967295)

參數

startPos
Double3
dir
Double3
maxDistance
Double
hitCollection
HitCollectionPolicy
maxHits
Int32
collisionMask
UInt32

適用於