RayCast Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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)
Parameters
- startPos
- Double3
- endPos
- Double3
- hitCollection
- HitCollectionPolicy
- maxHits
- Int32
- collisionMask
- UInt32
Applies to
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)
Parameters
- startPos
- Double3
- dir
- Double3
- maxDistance
- Double
- hitCollection
- HitCollectionPolicy
- maxHits
- Int32
- collisionMask
- UInt32