RayCast 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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