_GeometryInstancesRaycastResult (object)¶
Members¶
Vec3 | start | |
Vec3 | unitDir | |
Vec3 | dirPoint | |
Boolean | doubleSided | |
Scalar | coneThreshold | |
GeometryLocation | location | |
Size | geometryKey | |
Ref<GeometryInstancesSpatialQueries> | queryCache |
Methods¶
_GeometryInstancesRaycastResult ( in Ref<GeometryInstancesSpatialQueries> queryCache ) | |
_GeometryInstancesRaycastResult ( in _GeometryInstancesRaycastResult other ) | |
_GeometryInstancesRaycastResult () | |
_GeometryInstancesRaycastResult | clone ? () |
Boolean | compareAndUpdate ! ( in Size objectIndex, in _GeometryInstanceSpatialQueriesData geometryData, out Scalar maxDistance ) |
Boolean | compareAndUpdate ! ( in Size objectIndex, out Scalar maxDistance ) |
copyResultFrom ! ( in Ref<RaycastResult> other ) | |
reset ! ( in Vec3 start, in Vec3 unitDir, in Boolean doubleSided, in Scalar coneThreshold ) |
Methods in detail¶
_GeometryInstancesRaycastResult ( in Ref<GeometryInstancesSpatialQueries> queryCache )
_GeometryInstancesRaycastResult ( in _GeometryInstancesRaycastResult other )
copy constructor
_GeometryInstancesRaycastResult ()
default constructor
_GeometryInstancesRaycastResult _GeometryInstancesRaycastResult.clone? ()
clone method
Boolean _GeometryInstancesRaycastResult.compareAndUpdate! ( in Size objectIndex, in _GeometryInstanceSpatialQueriesData geometryData, out Scalar maxDistance )
Boolean _GeometryInstancesRaycastResult.compareAndUpdate! ( in Size objectIndex, out Scalar maxDistance )
If the raycast resulting distance is <= maxDistance, returns ‘true’ and the object should preserve location information for that best candidate.
_GeometryInstancesRaycastResult.copyResultFrom! ( in Ref<RaycastResult> other )
Sets the resulting raycast location from the other RaycastResult (same type)
_GeometryInstancesRaycastResult.reset! ( in Vec3 start, in Vec3 unitDir, in Boolean doubleSided, in Scalar coneThreshold )
Resets the content of the query (new raycast beginning)